IDL4-CPP 1.0b2 FTF Avatar
  1. OMG Issue

IDL4CPP — String mapping

  • Key: IDL4CPP-35
  • Status: closed  
  • Source: Remedy IT ( Johnny Willemsen)
  • Summary:

    The mapping says "IDL strings shall be mapped to C++ std::string, or to a type named omg::types::string that delivers std::string semantics", but when I now have CORBA and use an interface with operation "void set_string (in string text);", what is now the C++ signature I have to override in my servant implementation, it could be "void set_string(const std::string& text) override;", or "void set_string(const omg::types::string& text) override;" which could lead to portability issues when some vendor uses std::string and another omg::types::string. For defining data it doesn't make a real difference, but it is a problem when using CORBA

  • Reported: IDL4-CPP 1.0b1 — Thu, 25 Jan 2024 12:07 GMT
  • Disposition: Closed; No Change — IDL4-CPP 1.0b2
  • Disposition Summary:

    Question has been addressed in Jira Issue

    There is nothing to change in the specification. Future versions of the specification could add further instructions on how to deal with various implementations of omg::types::strings.

  • Updated: Mon, 16 Sep 2024 14:15 GMT