Is there any reason why `std::exchange` is not `constexpr`? – stackoverflow.com

std::exchange, introduced in C++14, is specified as follows: template< class T, class U = T > T exchange( T& obj, U&& new_value ); Replaces the value of obj with new_value and ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

Artikel Terkait

0 Comment to "Is there any reason why `std::exchange` is not `constexpr`? – stackoverflow.com"