Halide
cmdline::detail Namespace Reference

Classes

struct  is_same
 
struct  is_same< T, T >
 
class  lexical_cast_t
 
class  lexical_cast_t< std::string, Source, false >
 
class  lexical_cast_t< Target, Source, true >
 
class  lexical_cast_t< Target, std::string, false >
 

Functions

void throw_bad_cast ()
 
template<typename Target , typename Source >
Target lexical_cast (const Source &arg)
 
template<class T >
std::string readable_typename ()
 
template<class T >
std::string default_value (T def)
 
template<>
std::string readable_typename< std::string > ()
 
template<>
std::string readable_typename< bool > ()
 
template<>
std::string readable_typename< int > ()
 

Function Documentation

◆ throw_bad_cast()

void cmdline::detail::throw_bad_cast ( )
inline

◆ lexical_cast()

template<typename Target , typename Source >
Target cmdline::detail::lexical_cast ( const Source &  arg)

Definition at line 127 of file cmdline.h.

References Halide::Internal::IRMatcher::cast().

◆ readable_typename()

template<class T >
std::string cmdline::detail::readable_typename ( )

Definition at line 153 of file cmdline.h.

◆ default_value()

template<class T >
std::string cmdline::detail::default_value ( def)

Definition at line 162 of file cmdline.h.

◆ readable_typename< std::string >()

template<>
std::string cmdline::detail::readable_typename< std::string > ( )
inline

Definition at line 167 of file cmdline.h.

◆ readable_typename< bool >()

template<>
std::string cmdline::detail::readable_typename< bool > ( )
inline

Definition at line 173 of file cmdline.h.

◆ readable_typename< int >()

template<>
std::string cmdline::detail::readable_typename< int > ( )
inline

Definition at line 178 of file cmdline.h.