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 62 of file converter.hpp.
|
inlinevirtual |
Definition at line 72 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 97 of file converter.hpp.