Skip to content
Discussion options

You must be logged in to vote

Currently, the standard wording explicitly specifies that std::default_delete::operator() is a non-static member function ([unique.ptr.dltr.dflt], [unique.ptr.dltr.dflt1]).

I tried to submit an LWG issue to allow all standard stateless functors to have static operator(), but was replied with something like paper-needed.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jt-9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants