Пример #1
0
 // For argument dependent lookup
 inline void swap(ErrorStack& s1, ErrorStack& s2)
 {
     s1.swap(s2);
 }
Пример #2
0
 void swap(ParseStatus& other) noexcept
 {
     std::swap(m_code, other.m_code);
     std::swap(m_offset, other.m_offset);
     m_stack.swap(other.m_stack);
 }