value-ptr-lite
value-ptr-lite copied to clipboard
nullptr constructors/factory function should be constexpr
Many functions in value_ptr.hpp had been constexpr but are no longer, this a pessimization that prevents code e.g. from creating static constexpr instances of nullptrs. Even more, with new C++ compile-time features like memory allocation, please make as many functions as possible constexpr (all of them?). Thanks