The body of this function isn't just a return statement, so it can't be constexpr until C++14. Backport from mainline 2020-05-23 Jonathan Wakely <jwakely@redhat.com> PR libstdc++/95289 * include/debug/helper_functions.h (__get_distance): Only declare as a constexpr function for C++14 and up. * testsuite/25_algorithms/copy/debug/95289.cc: New test.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
array | Loading commit data... | |
assertions.h | Loading commit data... | |
bitset | Loading commit data... | |
debug.h | Loading commit data... | |
deque | Loading commit data... | |
formatter.h | Loading commit data... | |
forward_list | Loading commit data... | |
functions.h | Loading commit data... | |
helper_functions.h | Loading commit data... | |
list | Loading commit data... | |
macros.h | Loading commit data... | |
map | Loading commit data... | |
map.h | Loading commit data... | |
multimap.h | Loading commit data... | |
multiset.h | Loading commit data... | |
safe_base.h | Loading commit data... | |
safe_container.h | Loading commit data... | |
safe_iterator.h | Loading commit data... | |
safe_iterator.tcc | Loading commit data... | |
safe_local_iterator.h | Loading commit data... | |
safe_local_iterator.tcc | Loading commit data... | |
safe_sequence.h | Loading commit data... | |
safe_sequence.tcc | Loading commit data... | |
safe_unordered_base.h | Loading commit data... | |
safe_unordered_container.h | Loading commit data... | |
safe_unordered_container.tcc | Loading commit data... | |
set | Loading commit data... | |
set.h | Loading commit data... | |
stl_iterator.h | Loading commit data... | |
string | Loading commit data... | |
unordered_map | Loading commit data... | |
unordered_set | Loading commit data... | |
vector | Loading commit data... |