Jpp  18.2.1
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Static Public Attributes | Static Private Member Functions | List of all members
JLANG::JLOCAL::JTypedef< T > Class Template Reference

#include <JComparisonAvailable.hh>

Static Public Attributes

static const bool has_first_type = !std::is_same<std::false_type, decltype(first_type<T> (0))>::value
 
static const bool has_second_type = !std::is_same<std::false_type, decltype(second_type<T>(0))>::value
 
static const bool has_value_type = !std::is_same<std::false_type, decltype(value_type<T> (0))>::value
 

Static Private Member Functions

template<class U >
static auto first_type (U *) -> decltype(std::declval< typename U::first_type >())
 
template<typename >
static auto first_type (...) -> std::false_type
 
template<class U >
static auto second_type (U *) -> decltype(std::declval< typename U::second_type >())
 
template<typename >
static auto second_type (...) -> std::false_type
 
template<class U >
static auto value_type (U *) -> decltype(std::declval< typename U::value_type >())
 
template<typename >
static auto value_type (...) -> std::false_type
 

Detailed Description

template<class T>
class JLANG::JLOCAL::JTypedef< T >

Definition at line 24 of file JComparisonAvailable.hh.

Member Function Documentation

template<class T >
template<class U >
static auto JLANG::JLOCAL::JTypedef< T >::first_type ( U *  ) -> decltype(std::declval< typename U::first_type >())
staticprivate
template<class T >
template<typename >
static auto JLANG::JLOCAL::JTypedef< T >::first_type (   ...) -> std::false_type
staticprivate
template<class T >
template<class U >
static auto JLANG::JLOCAL::JTypedef< T >::second_type ( U *  ) -> decltype(std::declval< typename U::second_type >())
staticprivate
template<class T >
template<typename >
static auto JLANG::JLOCAL::JTypedef< T >::second_type (   ...) -> std::false_type
staticprivate
template<class T >
template<class U >
static auto JLANG::JLOCAL::JTypedef< T >::value_type ( U *  ) -> decltype(std::declval< typename U::value_type >())
staticprivate
template<class T >
template<typename >
static auto JLANG::JLOCAL::JTypedef< T >::value_type (   ...) -> std::false_type
staticprivate

Member Data Documentation

template<class T >
const bool JLANG::JLOCAL::JTypedef< T >::has_first_type = !std::is_same<std::false_type, decltype(first_type<T> (0))>::value
static

Definition at line 36 of file JComparisonAvailable.hh.

template<class T >
const bool JLANG::JLOCAL::JTypedef< T >::has_second_type = !std::is_same<std::false_type, decltype(second_type<T>(0))>::value
static

Definition at line 37 of file JComparisonAvailable.hh.

template<class T >
const bool JLANG::JLOCAL::JTypedef< T >::has_value_type = !std::is_same<std::false_type, decltype(value_type<T> (0))>::value
static

Definition at line 38 of file JComparisonAvailable.hh.


The documentation for this class was generated from the following file: