DeduceHyperParameterTypes< T, Args... >::IsCollectionType< Type > Struct Template Reference

A type function to check whether Type is a collection type (for that it should define value_type). More...

Public Types

using No = char[2]
 
using Yes = char[1]
 

Static Public Member Functions

template
static YesCheck (typename TypeToCheck::value_type *)
 
template
static NoCheck (...)
 

Static Public Attributes

static const bool value
 

Detailed Description


template

template
struct mlpack::hpt::DeduceHyperParameterTypes< T, Args... >::IsCollectionType< Type >

A type function to check whether Type is a collection type (for that it should define value_type).

Definition at line 69 of file deduce_hp_types.hpp.

Member Typedef Documentation

◆ No

using No = char[2]

Definition at line 72 of file deduce_hp_types.hpp.

◆ Yes

using Yes = char[1]

Definition at line 71 of file deduce_hp_types.hpp.

Member Function Documentation

◆ Check() [1/2]

static Yes& Check ( typename TypeToCheck::value_type *  )
static

◆ Check() [2/2]

static No& Check (   ...)
static

Member Data Documentation

◆ value

const bool value
static
Initial value:
=
sizeof(decltype(Check(0))) == sizeof(Yes)

Definition at line 79 of file deduce_hp_types.hpp.


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