microsoft / ifc-spec

IFC format specification
Creative Commons Attribution 4.0 International
71 stars 7 forks source link

Missing constexpr flag on variable declaration #148

Open DarkArc opened 5 months ago

DarkArc commented 5 months ago

MSVC produced IFCs do not mark the Constexpr object traits flag when dealing with cases like the following:

struct X {
  static const X m;
};
constexpr X X::m { 13 };