@@ -3576,41 +3576,41 @@ in pseudo-code, the actual implementation sometimes being slightly hard to
3576
3576
understand. This section defines terms used in the reference and in the
3577
3577
pseudo-code used to describe some functions.
3578
3578
3579
- @anchor tutorial-glossary-forwarded
3580
- #### `forwarded(x)`
3581
- Means that the object is forwarded optimally. This means that if `x` is a
3582
- parameter, it is `std::forward`ed, and if it is a captured variable, it is
3583
- moved from whenever the enclosing lambda is an rvalue.
3584
-
3585
- Also note that when `x` can be moved from, the statement `return forwarded(x);`
3586
- in a function with `decltype(auto)` does not mean that an rvalue reference to
3587
- `x` will be returned, which would create a dangling reference. Rather, it
3588
- means that `x` is returned by value, the value being constructed with the
3589
- `std::forward`ed `x`.
3590
-
3591
- @anchor tutorial-glossary-perfect_capture
3592
- #### `perfect-capture`
3593
- This is used in lambdas to signify that the captured variables are
3594
- initialized using perfect forwarding, as if `[x(forwarded(x))...]() { }`
3595
- had been used.
3596
-
3597
- @anchor tutorial-glossary-tag_dispatched
3598
- #### `tag-dispatched`
3599
- This means that the documented function uses [tag dispatching]
3600
- (@ref tutorial-core-tag_dispatching), and hence the exact
3601
- implementation depends on the model of the concept associated
3602
- to the function.
3603
-
3604
- @anchor tutorial-glossary-implementation_defined
3605
- #### `implementation-defined`
3606
- This expresses the fact that the exact implementation of an entity (usually a
3607
- type) should not be relied upon by users. In particular, this means that one
3608
- can not assume anything beyond what is written explicitly in the documentation.
3609
- Usually, the concepts satisfied by an implementation-defined entity will be
3610
- documented, because one could otherwise do nothing with it. Concretely,
3611
- assuming too much about an implementation-defined entity will probably
3612
- not kill you, but it will very probably break your code when you update
3613
- to a newer version of Hana.
3579
+ - @anchor tutorial-glossary-forwarded `forwarded(x)`
3580
+
3581
+ Means that the object is forwarded optimally. This means that if `x` is a
3582
+ parameter, it is `std::forward`ed, and if it is a captured variable, it is
3583
+ moved from whenever the enclosing lambda is an rvalue.
3584
+
3585
+ Also note that when `x` can be moved from, the statement `return forwarded(x);`
3586
+ in a function with `decltype(auto)` does not mean that an rvalue reference to
3587
+ `x` will be returned, which would create a dangling reference. Rather, it
3588
+ means that `x` is returned by value, the value being constructed with the
3589
+ `std::forward`ed `x`.
3590
+
3591
+ - @anchor tutorial-glossary-perfect_capture `perfect-capture`
3592
+
3593
+ This is used in lambdas to signify that the captured variables are
3594
+ initialized using perfect forwarding, as if `[x(forwarded(x))...]() { }`
3595
+ had been used.
3596
+
3597
+ - @anchor tutorial-glossary-tag_dispatched `tag-dispatched`
3598
+
3599
+ This means that the documented function uses [tag dispatching]
3600
+ (@ref tutorial-core-tag_dispatching), and hence the exact
3601
+ implementation depends on the model of the concept associated
3602
+ to the function.
3603
+
3604
+ - @anchor tutorial-glossary-implementation_defined `implementation-defined`
3605
+
3606
+ This expresses the fact that the exact implementation of an entity (usually a
3607
+ type) should not be relied upon by users. In particular, this means that one
3608
+ can not assume anything beyond what is written explicitly in the documentation.
3609
+ Usually, the concepts satisfied by an implementation-defined entity will be
3610
+ documented, because one could otherwise do nothing with it. Concretely,
3611
+ assuming too much about an implementation-defined entity will probably
3612
+ not kill you, but it will very probably break your code when you update
3613
+ to a newer version of Hana.
3614
3614
3615
3615
3616
3616
0 commit comments