value-ptr-lite icon indicating copy to clipboard operation
value-ptr-lite copied to clipboard

nullptr constructors/factory function should be constexpr

Open tobias-loew opened this issue 1 year ago • 0 comments

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

tobias-loew avatar Mar 19 '25 10:03 tobias-loew