MCPcopy Create free account
hub / github.com/ChaiScript/ChaiScript / swap

Method swap

include/chaiscript/dispatchkit/boxed_value.hpp:211–214  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

209 Boxed_Value& operator=(const Boxed_Value&) = default;
210
211 void swap(Boxed_Value &rhs)
212 {
213 std::swap(m_data, rhs.m_data);
214 }
215
216 /// Copy the values stored in rhs.m_data to m_data.
217 /// m_data pointers are not shared in this case

Callers

nothing calls this directly

Calls 1

swapFunction · 0.85

Tested by

no test coverage detected