
30 Jun
2009
30 Jun
'09
7:40 p.m.
AMDG Sakharuk, Vlad (GMI Development) wrote:
Here is example: class one { public: typedef someclass internal; };
class two { // No internal class };
class default_internal{ };
I would like to be able to write something if it possible:
template
class proc { }; So I can use proc with both
proc<one> One; proc<two> Two;
without specifying derived type?
Use BOOST_MPL_HAS_XXX_TRAIT_DEF with boost::mpl::eval_if.
#include
class proc; In Christ, Steven Watanabe