IDL4-CPP 1.0b2 FTF Avatar
  1. OMG Issue

IDL4CPP — Using floating point types to instantiate pre C++20 templates

  • Key: IDL4CPP-27
  • Status: open  
  • Source: Objective Interface Systems ( Mr. Chuck Abbott)
  • Summary:

    Prior to C++20, the following template cannot be instantiated:

    template <typename T, const T thingy>
    class MyTemplate {};

    MyTemplate<double, 5.0> x;

  • Reported: IDL4-CPP 1.0a1 — Wed, 10 Jan 2024 19:33 GMT
  • Updated: Tue, 9 Apr 2024 00:01 GMT