# 'C++' Standard Template Library Containers

## Documentation for package ‘cppcontainers’ version 1.0.1

- DESCRIPTION file.
- User guides, package vignettes and other documentation.

## Help Pages

A B C E F I L M P R S T U misc

## -- A --

assign | Replace all elements
assign-method | Replace all elements
at | Access elements with bounds checking
at-method | Access elements with bounds checking

## -- B --

back | Access last element
back-method | Access last element
bucket_count | Get the number of buckets
bucket_count-method | Get the number of buckets

## -- C --

capacity | Get container capacity
capacity-method | Get container capacity
clear | Clear the container
clear-method | Clear the container
contains | Check for elements
contains-method | Check for elements
count | Count element frequency
count-method | Count element frequency
cpp_deque | Create deque
cpp_forward_list | Create forward list
cpp_list | Create list
cpp_map | Create map
cpp_multimap | Create multimap
cpp_multiset | Create multiset
cpp_priority_queue | Create priority queue
cpp_queue | Create queue
cpp_set | Create set
cpp_stack | Create stack
cpp_unordered_map | Create unordered map
cpp_unordered_multimap | Create unordered multimap
cpp_unordered_multiset | Create unordered multiset
cpp_unordered_set | Create unordered set
cpp_vector | Create vector

## -- E --

emplace | Add an element
emplace-method | Add an element
emplace_after | Add an element
emplace_after-method | Add an element
emplace_back | Add an element to the back
emplace_back-method | Add an element to the back
emplace_front | Add an element to the front
emplace_front-method | Add an element to the front
empty | Check emptiness
empty-method | Check emptiness
erase | Erase elements
erase-method | Erase elements
erase_after | Erase elements
erase_after-method | Erase elements

## -- F --

flip | Toggle boolean values
flip-method | Toggle boolean values
front | Access first element
front-method | Access first element

## -- I --

insert | Add elements
insert-method | Add elements
insert_after | Add elements
insert_after-method | Add elements
insert_or_assign | Add or overwrite elements
insert_or_assign-method | Add or overwrite elements

## -- L --

load_factor | Get the mean number of elements per bucket
load_factor-method | Get the mean number of elements per bucket

## -- M --

max_bucket_count | Get the maximum number of buckets
max_bucket_count-method | Get the maximum number of buckets
max_load_factor | Get or set the maximum load factor
max_load_factor-method | Get or set the maximum load factor
max_size | Get maximum container size
max_size-method | Get maximum container size
merge | Merge two objects
merge-method | Merge two objects

## -- P --

pop | Remove top element
pop-method | Remove top element
pop_back | Remove an element from the back
pop_back-method | Remove an element from the back
pop_front | Remove an element from the front
pop_front-method | Remove an element from the front
print | Print container data
print-method | Print container data
push | Add elements
push-method | Add elements
push_back | Add an element to the back
push_back-method | Add an element to the back
push_front | Add an element to the front
push_front-method | Add an element to the front

## -- R --

rehash | Set minimum bucket count and rehash
rehash-method | Set minimum bucket count and rehash
remove. | Remove elements
remove.-method | Remove elements
reserve | Reserve space
reserve-method | Reserve space
resize | Alter the container size
resize-method | Alter the container size
reverse | Reverse element order
reverse-method | Reverse element order

## -- S --

shrink_to_fit | Shrink container capacity to size
shrink_to_fit-method | Shrink container capacity to size
size | Get container size
size-method | Get container size
sort | Sort elements
sort-method | Sort elements
sorting | Print the sorting order
sorting-method | Print the sorting order
splice | Move elements
splice-method | Move elements
splice_after | Move elements
splice_after-method | Move elements

## -- T --

top | Access top element
top-method | Access top element
to_r | Export data to R
to_r-method | Export data to R
try_emplace | Add an element
try_emplace-method | Add an element
type | Get data type
type-method | Get data type

## -- U --

unique | Delete consecutive duplicates
unique-method | Delete consecutive duplicates

## -- misc --

==-method | Check equality
[-method | Access or insert elements without bounds checking