Halide
Halide::Internal::Convert< FROM, TO > Struct Template Reference

#include <Generator.h>

Static Public Member Functions

template<typename TO2 = TO, typename std::enable_if<!std::is_same< TO2, bool >::value >::type * = nullptr>
static TO2 value (const FROM &from)
 
template<typename TO2 = TO, typename std::enable_if< std::is_same< TO2, bool >::value >::type * = nullptr>
static TO2 value (const FROM &from)
 

Detailed Description

template<typename FROM, typename TO>
struct Halide::Internal::Convert< FROM, TO >

Definition at line 491 of file Generator.h.

Member Function Documentation

◆ value() [1/2]

template<typename FROM , typename TO >
template<typename TO2 = TO, typename std::enable_if<!std::is_same< TO2, bool >::value >::type * = nullptr>
static TO2 Halide::Internal::Convert< FROM, TO >::value ( const FROM &  from)
inlinestatic

Definition at line 493 of file Generator.h.

◆ value() [2/2]

template<typename FROM , typename TO >
template<typename TO2 = TO, typename std::enable_if< std::is_same< TO2, bool >::value >::type * = nullptr>
static TO2 Halide::Internal::Convert< FROM, TO >::value ( const FROM &  from)
inlinestatic

Definition at line 498 of file Generator.h.


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