N4543 std::unique_function status

284 views
Skip to first unread message

Sergey Vidyuk

unread,
Aug 16, 2017, 2:36:38 AM8/16/17
to ISO C++ Standard - Future Proposals
What is the current state of the N4543 proposal http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/n4543.pdf for std::uniique_function? I can see it was mentioned once in post Lenexa mailing but no more updates on this proposal. Was it rejected or just abandoned?

Sergey Vidyuk

Klaim - Joël Lamotte

unread,
Aug 16, 2017, 10:10:35 AM8/16/17
to std-pr...@isocpp.org
On 16 August 2017 at 08:36, Sergey Vidyuk <sir.v...@gmail.com> wrote:
What is the current state of the N4543 proposal http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/n4543.pdf for std::uniique_function? I can see it was mentioned once in post Lenexa mailing but no more updates on this proposal. Was it rejected or just abandoned?

Sergey Vidyuk

I don't know what is the status but at least two people did some usable implementations:

- from the author of the paper: https://github.com/potswa/cxx_function

I'm using the second one in production.

Joël Lamotte

Carl Cook

unread,
Aug 16, 2017, 6:28:00 PM8/16/17
to ISO C++ Standard - Future Proposals
Somewhat related: https://github.com/WG21-SG14/SG14/blob/master/Docs/Proposals/NonAllocatingStandardFunction.pdf with an implementation here: https://github.com/WG21-SG14/SG14/blob/master/SG14/inplace_function.h (which I use in production).

The std::unqiue_function and std::inplace_function proposals have considerable overlap. Once cppcon is over, I'll spend some time updating my proposal and submit it.

Cheers,
Carl
Reply all
Reply to author
Forward
0 new messages