Skip to main content
Ctrl+K
Carbonite SDK - Home Carbonite SDK - Home

Carbonite SDK

  • gitlab
  • twitter
  • youtube
  • instagram
  • www
  • linkedin
  • twitch
Carbonite SDK - Home Carbonite SDK - Home

Carbonite SDK

  • gitlab
  • twitter
  • youtube
  • instagram
  • www
  • linkedin
  • twitch

Table of Contents

  • Carbonite SDK API
  • Namespaces
  • carb
  • container
  • swap

swap#

Fully qualified name: carb::container::swap

Defined in carb/container/RobinHoodImpl.h

template<typename Traits>
void carb::container::swap(
RobinHood<Traits> &lhs,
RobinHood<Traits> &rhs,
)#

ADL swap function.

Swaps between two containers that have the same template parameters.

Parameters:
  • lhs – The first container

  • rhs – The second container.

previous

operator==

next

cpp

On this page
  • swap()
NVIDIA NVIDIA

Copyright © 2018-2026, NVIDIA Corporation.

Last updated on Feb 26, 2026.