Section: 22.10 [function.objects] Status: NAD Editorial Submitter: Dale Riley Opened: 2001-11-12 Last modified: 2016-01-28
Priority: Not Prioritized
View all other issues in [function.objects].
View all issues with NAD Editorial status.
Discussion:
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++]
Proposed resolution:
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.]