Specifications
CAVR-4
Part 2. Compiler reference
Library functions
247
Extended Embedded C++ standard template library
The following table lists the Extended Embedded C++ standard template library (STL)
header files:
Using standard C libraries in C++
The C++ library works in conjunction with 15 of the header files from the standard C
library, sometimes with small alterations. The header files come in two forms—new and
traditional—for example,
cassert and assert.h.
The following table shows the new header files:
Header file Description
algorithm Defines several common operations on sequences
deque A deque sequence container
functional Defines several function objects
hash_map A map associative container, based on a hash algorithm
hash_set A set associative container, based on a hash algorithm
iterator Defines common iterators, and operations on iterators
list A doubly-linked list sequence container
map A map associative container
memory Defines facilities for managing memory
numeric Performs generalized numeric operations on sequences
queue A queue sequence container
set A set associative container
slist A singly-linked list sequence container
stack A stack sequence container
utility Defines several utility components
vector A vector sequence container
Table 76: Standard template library header files
Header file Usage
cassert Enforcing assertions when functions execute
cctype Classifying characters
cerrno Testing error codes reported by library functions
cfloat Testing floating-point type properties
climits Testing integer type properties
Table 77: New standard C header files—DLIB