Jpp test-rotations-old
the software that should make you happy
Loading...
Searching...
No Matches
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
 

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

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

template<class T , bool is_primitive = JClass<T>::is_primitive>
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: