In the code:
typedef
template< typename T>
boost::variant<T::* int, T::* string, T::* double, T::* bool>
any_member;
What does the T::*
mean/do?
In the code:
typedef
template< typename T>
boost::variant<T::* int, T::* string, T::* double, T::* bool>
any_member;
What does the T::*
mean/do?
T::*
is a pointer to a member of T
. The int
is the type of that member.