c++ - How to create gettable template type data sa class field? -
i have a:
template<class t, class e> class bla { }
i want make t accessable other classes like:
bla::typeofe
is such thing possible in c++03 , how it?
add in public
section
typedef t typeoft;
use like
bla<int, double>::typeoft value;
Comments
Post a Comment