The std::__addressof function is always constexpr, even in C++14, so we can just use that. * include/experimental/bits/lfts_config.h: Improve doc markup. * include/experimental/optional: Improve docs. (_Has_addressof_mem, _Has_addressof_free, _Has_addressof) (__constexpr_addressof): Remove. (optional::operator->()): Use std::__addressof(). * include/std/optional (optional::operator->()): Adjust whitespace. * testsuite/experimental/optional/constexpr/observers/2.cc: Check that operator-> is still constexpr with overloaded operator&. Change to compile-only test. * testsuite/experimental/optional/constexpr/observers/3.cc: Change to compile-only test. From-SVN: r270826
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| bits | Loading commit data... | |
| algorithm | Loading commit data... | |
| any | Loading commit data... | |
| array | Loading commit data... | |
| buffer | Loading commit data... | |
| chrono | Loading commit data... | |
| deque | Loading commit data... | |
| executor | Loading commit data... | |
| filesystem | Loading commit data... | |
| forward_list | Loading commit data... | |
| functional | Loading commit data... | |
| internet | Loading commit data... | |
| io_context | Loading commit data... | |
| iterator | Loading commit data... | |
| list | Loading commit data... | |
| map | Loading commit data... | |
| memory | Loading commit data... | |
| memory_resource | Loading commit data... | |
| net | Loading commit data... | |
| netfwd | Loading commit data... | |
| numeric | Loading commit data... | |
| optional | Loading commit data... | |
| propagate_const | Loading commit data... | |
| random | Loading commit data... | |
| ratio | Loading commit data... | |
| regex | Loading commit data... | |
| set | Loading commit data... | |
| socket | Loading commit data... | |
| source_location | Loading commit data... | |
| string | Loading commit data... | |
| string_view | Loading commit data... | |
| system_error | Loading commit data... | |
| timer | Loading commit data... | |
| tuple | Loading commit data... | |
| type_traits | Loading commit data... | |
| unordered_map | Loading commit data... | |
| unordered_set | Loading commit data... | |
| utility | Loading commit data... | |
| vector | Loading commit data... |