Skip to content

Latest commit

 

History

History
11 lines (9 loc) · 252 Bytes

NOTES.md

File metadata and controls

11 lines (9 loc) · 252 Bytes

Apparently VC++ 2017 is not quite ready for

template <auto v> struct value_t {
  using eval = value_t;
  using type = decltype(v);
  static constexpr auto value = v;
};

because decltype(v) does not always seem to give the expected type.