IDL4-CPP 1.0b2 FTF Avatar
  1. OMG Issue

IDL4CPP — Mapping of constants within an interface not correct, not compilable C++ code

  • Key: IDL4CPP-85
  • Status: open   Implementation work Blocked
  • Source: Remedy IT ( Johnny Willemsen)
  • Summary:

    The spec maps a constant within an IDL interface to a constexpr member, but this doesn't compile:

    i.cpp:8:1: error: non-static data member ‘PI’ declared ‘constexpr’
    8 | constexpr double PI = 3.14;

    ^~~~~~~~~
  • Reported: IDL4-CPP 1.0b1 — Fri, 12 Apr 2024 09:41 GMT
  • Updated: Tue, 16 Apr 2024 15:13 GMT