...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::xpressive::swap — Swaps the contents of two basic_regex objects.
// In header: <boost/xpressive/basic_regex.hpp> template<typename BidiIter> void swap(basic_regex< BidiIter > & left, basic_regex< BidiIter > & right);
Note | |
---|---|
This is a shallow swap that does not do reference tracking. If you embed a |
Parameters: |
|
||||
Throws: |
Will not throw. |