BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bsl::Deque_Util Struct Reference

#include <bslstl_deque.h>

Static Public Member Functions

static void move (void *dst, void *src)
 
static void swap (void *a, void *b)
 

Detailed Description

This struct provides a namespace to implement the swap member function of deque<VALUE_TYPE, ALLOCATOR>. This function can be implemented irrespective of the VALUE_TYPE or ALLOCATOR template parameters, which is why we implement it in this non-parameterized, non-inlined utility.

Member Function Documentation

◆ move()

static void bsl::Deque_Util::move ( void *  dst,
void *  src 
)
static

Assign the value of the specified dst deque to that of the specified src deque, and reset the src deque to a raw state.

◆ swap()

static void bsl::Deque_Util::swap ( void *  a,
void *  b 
)
static

Exchange the value of the specified a deque with that of the specified b deque.


The documentation for this struct was generated from the following file: