forked from boostorg/core
Merge branch 'develop'
This commit is contained in:
@@ -14,6 +14,7 @@
|
|||||||
* Brad King
|
* Brad King
|
||||||
* Douglas Gregor
|
* Douglas Gregor
|
||||||
* Peter Dimov
|
* Peter Dimov
|
||||||
|
* Glen Fernandes
|
||||||
|
|
||||||
[endsimplesect]
|
[endsimplesect]
|
||||||
|
|
||||||
@@ -59,6 +60,19 @@ void f() {
|
|||||||
|
|
||||||
[endsect]
|
[endsect]
|
||||||
|
|
||||||
|
[section Notes]
|
||||||
|
|
||||||
|
In C++11 and above, `boost::addressof` is conditionally
|
||||||
|
`constexpr` when possible. This is indicated by
|
||||||
|
`BOOST_CORE_NO_CONSTEXPR_ADDRESSOF` not being defined.
|
||||||
|
|
||||||
|
With supported compilers, `boost::addressof` is always
|
||||||
|
`constexpr` by leveraging compiler intrinsics. This is
|
||||||
|
indicated by `BOOST_CORE_HAS_BUILTIN_ADDRESSOF` being
|
||||||
|
defined.
|
||||||
|
|
||||||
|
[endsect]
|
||||||
|
|
||||||
[endsect]
|
[endsect]
|
||||||
|
|
||||||
[endsect]
|
[endsect]
|
||||||
|
Reference in New Issue
Block a user