cMHN 1.1
C++ library for learning MHNs with pRC
Loading...
Searching...
No Matches
Classes | Public Types | Static Public Member Functions | List of all members
pRC::DetectCommonType< TA, TB > Struct Template Reference

#include <common.hpp>

Classes

struct  Failure
 
struct  Success
 

Public Types

using Type = decltype(test<TA, TB>(0))
 

Static Public Member Functions

template<class U1 , class U2 >
static Success< RemoveConstReference< decltype(false ? declval< U1 >() :declval< U2 >())> test (int)
 
template<class , class >
static Failure test (...)
 

Member Typedef Documentation

◆ Type

template<class TA , class TB >
using pRC::DetectCommonType< TA, TB >::Type = decltype(test<TA, TB>(0))

Member Function Documentation

◆ test() [1/2]

template<class TA , class TB >
template<class , class >
static Failure pRC::DetectCommonType< TA, TB >::test ( ...)
static

◆ test() [2/2]

template<class TA , class TB >
template<class U1 , class U2 >
static Success< RemoveConstReference< decltype(false ? declval< U1 >() :declval< U2 >())> pRC::DetectCommonType< TA, TB >::test ( int )
static

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