template template

C++ code posted
created at 09 Aug 04:00, updated at 09 Aug 04:01

Edit | Back
1
2
3
4
5
6
template <template<class T, class Allocator=std::allocator<T> > class Container>
class hoge {
    Container<int> c;
};

hoge<std::vector> h; // OK
151 Bytes in 2 ms with coderay