
11 Feb
2014
11 Feb
'14
12:39 a.m.
On 2/8/2014 11:44 AM, Alex wrote:
Now have a simpler solution: // use this struct to "read" the traits from the functions template<class T> struct trait { typedef decltype(is_pretty_function(std::declval
())) is_pretty; };
Nice! These things are getting easier with newer compiler features.