@@ -10,6 +10,24 @@ NOTE: https://wg21.link/P2714[P2714] added the ability (in C\\++26) to use a
1010non-type template parameter for the bound function; this works for function
1111pointers in C++17, and also for lambda expressions in C++20 and beyond.
1212
13+ === `dereference`
14+
15+ `dereference` is a function object like
16+ https://en.cppreference.com/w/cpp/utility/functional/negate.html[`std::negate`],
17+ except it calls (unary) `operator*` instead of `operator-`.
18+
19+ It also has a specialization for `void` which is _transparent_ like that of
20+ https://en.cppreference.com/w/cpp/utility/functional/negate_void.html[`std::negate`].
21+
22+ === `unary_plus`
23+
24+ `unary_plus` is a function object like
25+ https://en.cppreference.com/w/cpp/utility/functional/negate.html[`std::negate`],
26+ except it calls (unary) `operator+` instead of `operator-`.
27+
28+ It also has a specialization for `void` which is _transparent_ like that of
29+ https://en.cppreference.com/w/cpp/utility/functional/negate_void.html[`std::negate`].
30+
1331=== `with_result_of`
1432
1533`with_result_of` is a class that can be used for lazy evaluation.
@@ -35,11 +53,3 @@ v.emplace(0, stdx::with_result_of{make_S}); // this constructs S in-place thanks
3553`with_result_of` can help to achieve in-place construction, effectively by deferring
3654evaluation of function arguments.
3755
38- === `unary_plus`
39-
40- `unary_plus` is a function object like
41- https://en.cppreference.com/w/cpp/utility/functional/negate.html[`std::negate`],
42- except it calls (unary) `operator+` instead of `operator-`.
43-
44- It also has a specialization for `void` which is _transparent_ like that of
45- https://en.cppreference.com/w/cpp/utility/functional/negate_void.html[`std::negate`].
0 commit comments