Inviwo  0.9.10.1
Inviwo documentation
inviwo::util::is_constructible< Type, Arguments > Struct Template Reference

#include <stdextensions.h>

Static Public Member Functions

template<typename U , decltype(U(std::declval< Arguments >()...)) * = nullptr>
static std::true_type check (int)
 
template<class >
static std::false_type check (...)
 

Static Public Attributes

static const bool value = decltype(check<Type>(0))::value
 

Detailed Description

template<typename Type, typename... Arguments>
struct inviwo::util::is_constructible< Type, Arguments >

A type trait to determine if type "Type" is constructible from arguments "Arguments...". Example: util::is_constructible<MyType, FirstArg, SecondArg>::value


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