Skip to content

nullptr constructors/factory function should be constexpr #15

@tobias-loew

Description

@tobias-loew

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions