classdesc doesn't handle -> return type decls
Brought to you by:
hpcoder
Example:
~~~
template <class t=""> struct has_empty
{
template <class x="">
static auto check(X x)->decltype(x.empty());
static std::false_type check(...);</class></class>
static constexpr const bool value = std::is_integral<decltype(check(std::declval<T>()))>::value;
};
outputs
~~~
std :: false_type(*TmpMemPtr_check2)(( ... )=&::schema2::has_empty<T>::check;
Anonymous