Compiling & Linking

Include the following at the top of any translation unit:

   1 #include <ecl/type_traits.hpp>
   3 // The error interfaces
   4 using ecl::numeric_limits;
   5 using ecl::is_integral;
   6 using ecl::is_float;
   7 using ecl::is_signed;
   8 using ecl::is_unsigned;
   9 using ecl::is_byte;

If outside ros, you will also need to link to ecl_type_traits.


  • Numerical Limits - fixing a few rough edges around c++ numeric limits.

  • The 'Is A' Traits - temporary fillers for the 'is a xxx' fundamental type traits till C++0x is widespread.

Wiki: ecl_type_traits (last edited 2012-02-01 13:25:25 by DanielStonier)