![]() |
SOPT
Sparse OPTimisation
|
#include <real_type.h>
Classes | |
struct | Derived |
struct | Fallback |
Public Types | |
using | Have = char[1] |
using | HaveNot = char[2] |
Static Public Member Functions | |
template<typename U > | |
static Have & | test (typename U::value_type *) |
template<typename U > | |
static HaveNot & | test (U *) |
Static Public Attributes | |
static constexpr bool | value = sizeof(test<Derived>(nullptr)) == sizeof(HaveNot) |
Definition at line 13 of file real_type.h.
using sopt::details::HasValueType< T, Enable >::Have = char[1] |
Definition at line 14 of file real_type.h.
using sopt::details::HasValueType< T, Enable >::HaveNot = char[2] |
Definition at line 15 of file real_type.h.
|
static |
|
static |
|
staticconstexpr |
Definition at line 27 of file real_type.h.