mirror of
https://github.com/boostorg/utility.git
synced 2025-05-11 13:24:02 +00:00
Updated a couple C++ standard references.
This commit is contained in:
parent
30caa722c1
commit
a1583e3072
@ -291,11 +291,12 @@ are:
|
|||||||
* [link table:indexable `indexable<>`]
|
* [link table:indexable `indexable<>`]
|
||||||
* Any composite operator template that includes at least one of the above
|
* Any composite operator template that includes at least one of the above
|
||||||
|
|
||||||
As Daniel Krugler pointed out, this technique violates 14.6.5/2 and is thus
|
As Daniel Krugler pointed out, this technique violates C++11 [sect]14.6.5/2 \[temp.inject\]
|
||||||
non-portable. The reasoning is, that the operators injected by the instantiation
|
and is thus non-portable. The reasoning is, that the operators injected by the instantiation
|
||||||
of e.g. `less_than_comparable<my_class>` can not be found by ADL according to the
|
of e.g. `less_than_comparable<my_class>` can not be found by ADL according to the
|
||||||
rules given by 3.4.2/2, since `my_class` is not an associated class of
|
rules given by C++11 [sect]3.4.2/2 \[basic.lookup.argdep\], since `my_class` is not
|
||||||
`less_than_comparable<my_class>`. Thus only use this technique if all else fails.
|
an associated class of `less_than_comparable<my_class>`. Thus only use this technique
|
||||||
|
if all else fails.
|
||||||
|
|
||||||
[#sec:portability]
|
[#sec:portability]
|
||||||
[h5 Requirement Portability]
|
[h5 Requirement Portability]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user