Public Member Functions

implementation::tlexical_cast< To, From, ToEnable, FromEnable > Struct Template Reference

Base class for the conversion. More...

#include <lexical_cast.hpp>

List of all members.

Public Member Functions

To operator() (From value)

Detailed Description

template<typename To, typename From, typename ToEnable, typename FromEnable>
struct implementation::tlexical_cast< To, From, ToEnable, FromEnable >

Base class for the conversion.

Since functions can't be partially specialized we use a class, which can be partially specialized for the conversion.

Template Parameters:
To The type to convert to.
From The type to convert from.
ToEnable Filter to enable the To type.
FromEnable Filter to enable the From type.

Definition at line 120 of file lexical_cast.hpp.


Member Function Documentation

template<typename To , typename From , typename ToEnable , typename FromEnable >
To implementation::tlexical_cast< To, From, ToEnable, FromEnable >::operator() ( From  value  )  [inline]

Definition at line 122 of file lexical_cast.hpp.

References DEBUG_THROW.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Fri May 25 2012 01:24:13 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs