Next: , Previous: C++ Scoped name, Up: C++ mappings


6.2.2 Mapping for constants

GenoM IDL constants are mapped to a C++ constant. For instance, the following IDL:

   const long longint = 1;
   const string str = "string example";

would map into

   const int32_t longint = 1;
   const std::string str = "string example";