The converters here provide a _fast_ and _type-safe_ means of doing type conversion, but lack formatting capabilities. If you need formatting capabilities with conversion to text types, use the formatter classes provided in ecl_formatters.

They're also used to provide generic conversions between existing classes.

Compiling & Linking

  • Include the following at the top of any translation unit:

   1 #include <ecl/converters.hpp>
   3 // The error interfaces
   4 using ecl::Converter;

Wiki: ecl_converters (last edited 2012-01-18 23:22:02 by DanielStonier)