mirror of
https://github.com/boostorg/optional.git
synced 2025-07-23 17:17:17 +02:00
r #12967 make none_t constructor constexpr
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user