Lines Matching defs:other
133 CustomInstance::CustomInstance (CustomInstance&& other)
136 this->swap(other);
144 CustomInstance& CustomInstance::operator= (CustomInstance&& other)
147 destroyer.swap(other);
152 void CustomInstance::swap (CustomInstance& other)
154 std::swap(m_context, other.m_context);
156 m_recorder.swap(other.m_recorder);
158 Move<VkInstance> aux = m_instance; m_instance = other.m_instance; other.m_instance = aux;
159 m_driver.swap(other.m_driver);
161 Move<VkDebugReportCallbackEXT> aux2 = m_callback; m_callback = other.m_callback; other.m_callback = aux2;
235 void UncheckedInstance::swap (UncheckedInstance& other)
237 std::swap(m_context, other.m_context);
239 m_recorder.swap(other.m_recorder);
241 std::swap(m_allocator, other.m_allocator);
242 vk::VkInstance aux = m_instance; m_instance = other.m_instance; other.m_instance = aux;
243 m_driver.swap(other.m_driver);
245 Move<VkDebugReportCallbackEXT> aux2 = m_callback; m_callback = other.m_callback; other.m_callback = aux2;
249 UncheckedInstance::UncheckedInstance (UncheckedInstance&& other)
252 this->swap(other);
255 UncheckedInstance& UncheckedInstance::operator= (UncheckedInstance&& other)
258 destroyer.swap(other);