Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- template <typename <class> class ContainerOf>
- class Foo;
- template <>
- class Foo<boost::optional> // works!
- {
- // ...
- };
- // ERROR! std::vector takes two parameters
- // T and Alloc.
- template <>
- class Foo<std::vector>
- {
- // ...
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement