c++11 - C++ Template Filter -


i started working c++ templates in order use template know
template<typename t> class myclass, how apply filter? in c# can
public class myclass<t> t:filterclass , in java it's
public class myclass<t extends/implements filterclass>. i've tried following tutorial @ https://msdn.microsoft.com/en-us/library/a174071k.aspx compiler doesn't recognize flag -clr or keywords generic , where. i've looked on cppreference.com , cplusplus.com , couldn't find anything. using --version option on compiler returns g++ (ubuntu 5.4.0-6ubuntu~16.04.1) 5.4.0 20160609. using c++11 , prefer not use external libraries.


Comments