6 Jul
2009
6 Jul
'09
1:26 p.m.
Hicham Mouline wrote:
which doesn't build because
error C2953: 'boost::introspection::has_member_data_maxsize' : class template has already been defined
The macro build a template meta-function that you use on your type :
BOOST_HAS_MEMBER_DATA(size_t, maxsize);
int main()
{
if ( boost::introspection::has_member_data_maxsize<T>::value )
{
std::cout<<" T has max_size"<