SFINAE test for distance.
More...
#include <utils_multi_iterator.h>
|
enum | { value = sizeof(test<T>(0)) == sizeof(yes_type)
} |
|
|
template<typename C > |
static yes_type & | test (decltype(std::distance< C >)) |
|
template<typename C > |
static no_type & | test (...) |
|
template<typename T>
class GiNaC::has_distance< T >
SFINAE test for distance.
Definition at line 38 of file utils_multi_iterator.h.
◆ yes_type
◆ no_type
◆ anonymous enum
◆ test() [1/2]
template<typename T >
template<typename C >
◆ test() [2/2]
template<typename T >
template<typename C >
The documentation for this class was generated from the following file: