Jpp  19.1.0
the software that should make you happy
Static Public Attributes | Static Protected Member Functions | Static Private Member Functions | List of all members
JLANG::JPrintHelper::JMemberMethod< T, is_primitive > Class Template Reference

Test for availability of member method const char* str() const;. More...

#include <JPrintHelper.hh>

Inheritance diagram for JLANG::JPrintHelper::JMemberMethod< T, is_primitive >:
JLANG::JTest

Static Public Attributes

static const bool __str__ = JTEST(test<T>(0))
 

Static Protected Member Functions

static JFalse test (...)
 default false More...
 

Static Private Member Functions

template<class U >
static JTrue test (JTypecheck< const char *(U::*)() const, &U::__str__ > *)
 
static JFalse test (...)
 default false More...
 
template<class __T__ >
static JFalse test (...)
 default false More...
 

Detailed Description

template<class T, bool is_primitive = JClass<T>::is_primitive>
class JLANG::JPrintHelper::JMemberMethod< T, is_primitive >

Test for availability of member method const char* str() const;.

Definition at line 89 of file JPrintHelper.hh.

Member Function Documentation

◆ test() [1/4]

template<class T , bool is_primitive = JClass<T>::is_primitive>
template<class U >
static JTrue JLANG::JPrintHelper::JMemberMethod< T, is_primitive >::test ( JTypecheck< const char *(U::*)() const, &U::__str__ > *  )
staticprivate

◆ test() [2/4]

template<class T , bool is_primitive = JClass<T>::is_primitive>
static JFalse JLANG::JTest::test
staticprivate

default false

◆ test() [3/4]

template<class T , bool is_primitive = JClass<T>::is_primitive>
template<class __T__ >
static JFalse JLANG::JTest::test ( class __T__  )
staticprivate

default false

◆ test() [4/4]

static JFalse JLANG::JTest::test (   ...)
staticprotectedinherited

default false

Member Data Documentation

◆ __str__

template<class T , bool is_primitive = JClass<T>::is_primitive>
const bool JLANG::JPrintHelper::JMemberMethod< T, is_primitive >::__str__ = JTEST(test<T>(0))
static

Definition at line 98 of file JPrintHelper.hh.


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