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::JConstructor< JType_t, JArgument_t > Class Template Reference

Template class test for availability of a suitable constructor JType_t(const JArgument_t). More...

#include <JConstructor.hh>

Inheritance diagram for JLANG::JConstructor< JType_t, JArgument_t >:
JLANG::JTest

Static Public Attributes

static const bool has_constructor = JTEST(test(std::declval<JArgument_t>()))
 true if JType_t can be constructed from JArgument_t; else false
More...
 

Static Protected Member Functions

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

Static Private Member Functions

static JTrue test (const JType_t &)
 
static JFalse test (...)
 default false More...
 
template<class __T__ >
static JFalse test (...)
 default false More...
 

Detailed Description

template<class JType_t, class JArgument_t>
class JLANG::JConstructor< JType_t, JArgument_t >

Template class test for availability of a suitable constructor JType_t(const JArgument_t).

Definition at line 21 of file JConstructor.hh.

Member Function Documentation

◆ test() [1/4]

template<class JType_t , class JArgument_t >
static JTrue JLANG::JConstructor< JType_t, JArgument_t >::test ( const JType_t &  )
staticprivate

◆ test() [2/4]

template<class JType_t , class JArgument_t >
static JFalse JLANG::JTest::test
staticprivate

default false

◆ test() [3/4]

template<class JType_t , class JArgument_t >
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

◆ has_constructor

template<class JType_t , class JArgument_t >
const bool JLANG::JConstructor< JType_t, JArgument_t >::has_constructor = JTEST(test(std::declval<JArgument_t>()))
static

true if JType_t can be constructed from JArgument_t; else false

Definition at line 29 of file JConstructor.hh.


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