Primary template and general fallback for converter classes. More...
#include <converter.hpp>
Public Member Functions | |
Output | operator() (const Input &input) |
virtual | ~Converter () |
Primary template and general fallback for converter classes.
This is the primary template for all converter classes. It also provides a default fallback for a single type conversion where both input and output types are defined in as template parameters.
Definition at line 56 of file converter.hpp.
virtual ecl::Converter< Output, Input >::~Converter | ( | ) | [inline, virtual] |
Definition at line 58 of file converter.hpp.
Output ecl::Converter< Output, Input >::operator() | ( | const Input & | input | ) |
The default fallback for converting a specific input type to a specific output type. This looks inside the output template argument's class for the required converter.
input | : the input value to be converted. |
Definition at line 91 of file converter.hpp.