libzypp 17.31.23
|
#include <base/TypeTraits.h>
Static Public Attributes | |
static constexpr bool | beg_value = decltype(testBeg<Tp>(nullptr))::value |
static constexpr bool | end_value = decltype(testEnd<Tp>(nullptr))::value |
static constexpr bool | value = beg_value && end_value |
Private Types | |
template<typename C > | |
using | Signature = typename C::const_iterator(C::*)() const |
Static Private Member Functions | |
template<typename C > | |
static std::true_type | testBeg (typename std::enable_if< std::is_same< decltype(static_cast< Signature< C > >(&C::begin)), Signature< C > >::value, void >::type *) |
template<typename C > | |
static std::false_type | testBeg (...) |
template<typename C > | |
static std::true_type | testEnd (typename std::enable_if< std::is_same< decltype(static_cast< Signature< C > >(&C::end)), Signature< C > >::value, void >::type *) |
template<typename C > | |
static std::false_type | testEnd (...) |
Definition at line 33 of file TypeTraits.h.
|
private |
Definition at line 37 of file TypeTraits.h.
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticconstexpr |
Definition at line 46 of file TypeTraits.h.
|
staticconstexpr |
Definition at line 47 of file TypeTraits.h.
|
staticconstexpr |
Definition at line 48 of file TypeTraits.h.