Borgatti
Thursday, 12 September 2013
Choose between implementations at compile time
Choose between implementations at compile time
Say one wants to create a C++ class with two separate implementations (say
one to run on a CPU and on a GPU) and one wants this to happen at compile
time.
What design pattern can be used for this?
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment