-
Key: IDL4CPP-27
-
Status: closed
-
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
-
Disposition: Deferred — IDL4-CPP 1.0b2
-
Disposition Summary:
Mapping for min, max, and ranged remains the same
In this case, an alternative implementation would introduce too much complexity. For that reason, we propose to defer this issue to future RTFs. State of the art compilers supporting C++20 work with the proposed mapping. Future RTFs may add additional information for implementers that require compatibility with earlier compilers.
-
Updated: Mon, 16 Sep 2024 14:15 GMT
IDL4CPP — Using floating point types to instantiate pre C++20 templates
- Key: IDL4CPP-27
- OMG Task Force: IDL4 to C++ Language Mapping (IDL4-CPP) 1.0 FTF