The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | List of all members
test_throw::implementation::tlexical_cast< To, From, ToEnable, FromEnable > Struct Template Reference

Base class for the conversion. More...

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
ToThe type to convert to.
FromThe type to convert from.
ToEnableFilter to enable the To type.
FromEnableFilter to enable the From type.

Definition at line 79 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 123 of file test_lexical_cast.cpp.


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