Implements parts of:
- P0898R3 Standard Library Concepts
|  Differential  D98151  
[libcxx] adds std::identity to <functional> Authored by cjdb on Mar 7 2021, 1:10 PM. 
Details 
 Implements parts of: 
 
Diff Detail 
 Event Timeline
 
 
 
 
 
 
 Comment Actions LGTM after addressing the current inline comments. Comment Actions @cjdb: I am willing to commandeer this revision for the purpose of replacing the test file with my "simpler test" above (and then I'd be responsible for watching buildkite and landing it).  Let me know if you want me to do that. Comment Actions After checking that no coverage is lost, I've adopted @Quuxplusone's suggested test with minor changes. There are still two concept tests, since I think both of those are simpler than the alternative. Comment Actions LGTM modulo the two unaddressed comments I see: "move the mention in the synopsis" and "add a test for noexceptness" (which I've taken the liberty of drafting). 
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Please move this up to directly after bit_not (and before unary_negate).
The synopses of the bitwise operators were all cut-and-paste-typoed; I just pushed a fix (changing comments only) so now there is a bit_not to put this after. :)