Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class IStuff {};
- template< template< typename > class Strat>
- class Stuff : public IStuff {};
- IStuff* factory()
- {
- return Stuff<Foo>();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement