N3800: A proposal to add a generalized callable negator (Revision 1) -- Tomasz Kamiński

A new WG21 paper is available. A copy is linked below, and the paper will also appear in the next normal WG21 mailing. If you are not a committee member, please use the comments section below or the std-proposals forum for public discussion.

Document number: N3800

Date: 2013-09-16

A proposal to add a generalized callable negator (Revision 1)

by Tomasz Kamiński

Excerpt:

This proposal is to add function template not_fn that will allow to create negator of any callable object.

Changes since N3699:

  • Change the requirements of not_fn to allow wrapping of move-only types.
  • Added missing Throws clause.
  • Included changes to 20.10 [function.objects]/2 section.
  • Corrected link to "Generic (Polymorphic) Lambda Expressions" proposal.
  • Changed formating of the document.

Add a Comment

Comments are closed.

Comments (0)

There are currently no comments on this entry.