MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / swap

Function swap

extern/boost/boost/optional/detail/optional_swap.hpp:107–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105
106template <class T>
107inline void swap ( optional<T>& x, optional<T>& y )
108//BOOST_NOEXCEPT_IF(::boost::is_nothrow_move_constructible<T>::value && BOOST_NOEXCEPT_EXPR(boost::swap(*x, *y)))
109{
110 optional_detail::swap_selector<optional_swap_should_use_default_constructor<T>::value>::optional_swap(x, y);
111}
112
113} // namespace boost
114

Callers 4

optional_swapMethod · 0.70
optional_swapMethod · 0.70
BOOST_NOEXCEPT_IFMethod · 0.70
BOOST_NOEXCEPT_IFFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected