I have the following type:
typedef boost::mpl::fold<hostObjectTypes, void, base>::type caClientObject;
and i need a forward decleration of this caClientObject. Does anyone know how to achieve it?
I'd do
struct caClientObject; /* forward */
and later
struct caClientObject : boost::mpl::fold<hostObjectTypes, void, base> {
};
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.