#include <Invoke.hpp>
|
using | type = typename std::is_same< decltype(test< T >(nullptr)), void >::type |
|
|
template<typename U > |
static auto | test (U *p) -> decltype(p->serialize(std::declval< Archive &>(), std::declval< const unsigned int >())) |
|
template<typename U > |
static auto | test (...) -> std::false_type |
|
|
static const auto | value = type::value |
|
template<typename T, typename Archive>
struct Pothos::serialization::hasSerialize< T, Archive >
Check for the presence of a serialize member function for class T. https://stackoverflow.com/questions/34595072/error-with-decltype-template-with-msvc2013
◆ type
template<typename T , typename Archive >
◆ test() [1/2]
template<typename T , typename Archive >
template<typename U >
◆ test() [2/2]
template<typename T , typename Archive >
template<typename U >
◆ value
template<typename T , typename Archive >
The documentation for this struct was generated from the following file: