libpnicore
Static Public Member Functions
pni::core::converter< TT, ST > Struct Template Reference

simple numeric converter More...

#include <convert.hpp>

Static Public Member Functions

static TT convert (const ST &value)
 perform conversion More...
 

Detailed Description

template<typename TT, typename ST>
struct pni::core::converter< TT, ST >

Implements conversion between simple scalar numeric types.

Template Parameters
TTtarget type
STsource type

Member Function Documentation

template<typename TT , typename ST >
static TT pni::core::converter< TT, ST >::convert ( const ST &  value)
inlinestatic
Parameters
valuereference of instance of source type
Returns
instance of target type with the converted value

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