Public Member Functions

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

Base class for the conversion. More...

List of all members.

Public Member Functions

To operator() (From value)

Detailed Description

template<typename To, typename From, typename ToEnable, typename FromEnable>
struct test_throw::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 test_lexical_cast.cpp.


Member Function Documentation

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

Definition at line 122 of file test_lexical_cast.cpp.


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:25:40 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs