WPILibC++ 2024.3.2
std Namespace Reference

Classes

struct  hash< wpi::WPI_BASIC_JSON_TPL >
 hash value for JSON objects More...
 
class  is_base_of
 
struct  is_error_code_enum< wpi::errc >
 
struct  less< ::wpi::detail::value_t >
 
struct  tuple_element< I, wpi::array< T, N > >
 
struct  tuple_element< I, wpi::PointerIntPair< PointerTy, IntBits, IntType, PtrTraits, Info > >
 
struct  tuple_element< I, wpi::StringMapEntry< ValueTy > >
 
class  tuple_element< N, ::wpi::detail::iteration_proxy_value< IteratorType > >
 
struct  tuple_size< wpi::array< T, N > >
 
struct  tuple_size< wpi::PointerIntPair< PointerTy, IntBits, IntType, PtrTraits, Info > >
 
struct  tuple_size< wpi::StringMapEntry< ValueTy > >
 
class  tuple_size<::wpi::detail::iteration_proxy_value< IteratorType > >
 

Functions

WPI_BASIC_JSON_TPL_DECLARATION void swap (wpi::WPI_BASIC_JSON_TPL &j1, wpi::WPI_BASIC_JSON_TPL &j2) noexcept(//NOLINT(readability-inconsistent-declaration-parameter-name) is_nothrow_move_constructible< wpi::WPI_BASIC_JSON_TPL >::value &&//NOLINT(misc-redundant-expression) is_nothrow_move_assignable< wpi::WPI_BASIC_JSON_TPL >::value)
 exchanges the values of two JSON objects More...
 
template<typename T >
void swap (wpi::SmallVectorImpl< T > &LHS, wpi::SmallVectorImpl< T > &RHS)
 Implement std::swap in terms of SmallVector swap. More...
 
template<typename T , unsigned N>
void swap (wpi::SmallVector< T, N > &LHS, wpi::SmallVector< T, N > &RHS)
 Implement std::swap in terms of SmallVector swap. More...
 
template<class T , unsigned N>
void swap (wpi::SmallPtrSet< T, N > &LHS, wpi::SmallPtrSet< T, N > &RHS)
 Implement std::swap in terms of SmallPtrSet swap. More...
 

Function Documentation

◆ swap() [1/4]

template<class T , unsigned N>
void std::swap ( wpi::SmallPtrSet< T, N > &  LHS,
wpi::SmallPtrSet< T, N > &  RHS 
)
inline

Implement std::swap in terms of SmallPtrSet swap.

◆ swap() [2/4]

template<typename T , unsigned N>
void std::swap ( wpi::SmallVector< T, N > &  LHS,
wpi::SmallVector< T, N > &  RHS 
)
inline

Implement std::swap in terms of SmallVector swap.

◆ swap() [3/4]

template<typename T >
void std::swap ( wpi::SmallVectorImpl< T > &  LHS,
wpi::SmallVectorImpl< T > &  RHS 
)
inline

Implement std::swap in terms of SmallVector swap.

◆ swap() [4/4]

WPI_BASIC_JSON_TPL_DECLARATION void std::swap ( wpi::WPI_BASIC_JSON_TPL j1,
wpi::WPI_BASIC_JSON_TPL j2 
)
inlinenoexcept

exchanges the values of two JSON objects

See also
https://json.nlohmann.me/api/basic_json/std_swap/