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

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -