24 Nov
2014
24 Nov
'14
7:57 a.m.
胡维 wrote
Has anyone ever worked out how to do this without having to specify the type? E.g. with BOOST_TTI_HAS_MEMBER_DATA I need to write something like
has_member_data_fieldname
::value;
I had that same need and could not find anything suitable... had to come up with my own (sort of). You might be interested in "is_callable" trait and BOOST_HAS_MEMBER macro deployment in my boost/convert. Right now it's in the development branch only. https://github.com/boostorg/convert/tree/develop -- View this message in context: http://boost.2283326.n4.nabble.com/Is-there-interest-in-a-library-for-testin... Sent from the Boost - Dev mailing list archive at Nabble.com.