14 Jan
2016
14 Jan
'16
9:52 p.m.
On 1/14/2016 2:35 PM, Juan Dent wrote:
HI,
I have read that via enable_if and other constructs, one can declare a member of a type conditionally.
What I need is a way to be able to test whether a certain type has a certain method or member data, so that I can call it or use it accordingly.
Does boost have something like this??
The TTI library can tell you whether or not a user-defined type has a public member function or public member data.