r #12967 make none_t constructor constexpr

This commit is contained in:
Matt
2017-04-13 09:13:26 -04:00
parent cb7641dc34
commit cd4e44f3dc

View File

@ -29,7 +29,7 @@ class none_t {};
struct none_t struct none_t
{ {
struct init_tag{}; struct init_tag{};
explicit none_t(init_tag){} // to disable default constructor explicit constexpr none_t(init_tag){} // to disable default constructor
}; };
#endif // old implementation workarounds #endif // old implementation workarounds