This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of NAD Editorial status.
Section: 22.10 [function.objects] Status: NAD Editorial Submitter: Dale Riley Opened: 2001-11-12 Last modified: 2016-02-10
Priority: Not Prioritized
View all other issues in [function.objects].
View all issues with NAD Editorial status.
In 22.10 [function.objects] the header <functional> synopsis declares the unary_negate and binary_negate function objects as struct. However in [negators] the unary_negate and binary_negate function objects are defined as class. Given the context, they are not "basic function objects" like negate, so this is either a typo or an editorial oversight.
[Taken from comp.std.c++]
Change the synopsis to reflect the useage in [negators]
[Curaçao: Since the language permits "struct", the LWG views this as NAD. They suggest, however, that the Project Editor might wish to make the change as editorial.]