Medial Code Documentation
Loading...
Searching...
No Matches
Static Public Member Functions
dmlc::Str2T< T > Class Template Reference

Interface class that defines a single method get() to convert a string into type T. Define template specialization of this class to define the conversion method for a particular type. More...

#include <strtonum.h>

Static Public Member Functions

static T get (const char *begin)
 Convert a string into type T.
 

Detailed Description

template<typename T>
class dmlc::Str2T< T >

Interface class that defines a single method get() to convert a string into type T. Define template specialization of this class to define the conversion method for a particular type.

Template Parameters
Typeof converted value

Member Function Documentation

◆ get()

template<typename T >
static T dmlc::Str2T< T >::get ( const char *  begin)
inlinestatic

Convert a string into type T.

Parameters
beginBeginning of the string to convert
Returns
Converted value, in type T

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