C++ boost::mpl::type forward declaration -
i have following type:
typedef boost::mpl::fold<hostobjecttypes, void, base>::type caclientobject;
and need forward decleration of caclientobject. know how achieve it?
i'd do
struct caclientobject; /* forward */
and later
struct caclientobject : boost::mpl::fold<hostobjecttypes, void, base> { };
Comments
Post a Comment