From Jason Turner

[utility.exchange]

Diff to HTML by rtfpessoa

tmp/tmp9ezedt4b/{from.md → to.md} RENAMED
@@ -1,9 +1,10 @@
1
  ### `exchange` <a id="utility.exchange">[[utility.exchange]]</a>
2
 
3
  ``` cpp
4
- template <class T, class U = T> T exchange(T& obj, U&& new_val);
 
5
  ```
6
 
7
  *Effects:* Equivalent to:
8
 
9
  ``` cpp
 
1
  ### `exchange` <a id="utility.exchange">[[utility.exchange]]</a>
2
 
3
  ``` cpp
4
+ template<class T, class U = T>
5
+ constexpr T exchange(T& obj, U&& new_val);
6
  ```
7
 
8
  *Effects:* Equivalent to:
9
 
10
  ``` cpp