17 Aug
2017
17 Aug
'17
1:45 a.m.
On 17/08/2017 13:27, Glen Fernandes wrote:
This is to detect a member 'impl_ptr_type' type? Just:
template
struct has_impl_ptr_type : boost::false_type { }; template<class T> struct has_impl_ptr_type : boost::true_type { };
That *is* a nicer way to do it. Requires a minimum of Boost 1.64 or C++17, though. (Or VS2015, apparently.)