Version: 9.15.0
YACS::ENGINE::isAdaptableBool< IMPLIN, IMPLOUT > Struct Template Reference

Static Public Member Functions

static int apply (const TypeCode *t1, const TypeCode *t2)
 

Detailed Description

template<ImplType IMPLIN, ImplType IMPLOUT>
struct YACS::ENGINE::isAdaptableBool< IMPLIN, IMPLOUT >

Definition at line 225 of file TypeConversions.cxx.

Member Function Documentation

◆ apply()

template<ImplType IMPLIN, ImplType IMPLOUT>
static int YACS::ENGINE::isAdaptableBool< IMPLIN, IMPLOUT >::apply ( const TypeCode t1,
const TypeCode t2 
)
inlinestatic

Definition at line 227 of file TypeConversions.cxx.

228  {
229  if(t1->kind() == Bool)return 1;
230  if(t1->kind() == Int)return 1;
231  return 0;
232  }
static std::string t1[]

References YACS::ENGINE::Bool, YACS::ENGINE::Int, and YACS::t1.


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