Based on the semantics of std::unique_ptr, the value_ptr() and value_ptr(nullptr_t) constructors should be constexpr.
If constexpr is available (C++ >= 11) it should be added to those constructors so empty value_ptr objects can be created in constexpr contexts.
Based on the semantics of std::unique_ptr, the value_ptr() and value_ptr(nullptr_t) constructors should be constexpr. If constexpr is available (C++ >= 11) it should be added to those constructors so empty value_ptr objects can be created in constexpr contexts.