Jpp 20.0.0-27-g39925593c-D
the software that should make you happy
Loading...
Searching...
No Matches
Static Public Attributes | 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 Private Member Functions

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

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/3]

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/3]

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

default false

◆ test() [3/3]

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

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: