32
Regular expressions library
[re]
32.7
Class template
basic_
regex
[re.regex]
32.7.6
Swap
[re.regex.swap]
🔗
void
swap
(
basic_regex
&
e
)
;
1
#
Effects
: Swaps the contents of the two regular expressions
.
2
#
Postconditions
:
*
this
contains the regular expression that was in
e
,
e
contains the regular expression that was in
*
this
.
3
#
Complexity
: Constant time
.