Bond 0.9
C++ Bond Runtime Library API Documentation
Loading...
Searching...
No Matches
STL

These headers provide the containers, algorithms and C library functions used by Bond. More...

Files

file  include/bond/stl/algorithm.h
 Algorithms used by Bond.
file  include/bond/stl/cmath.h
 Math functions used by Bond, such as those backing its math standard library.
file  include/bond/stl/cstdio.h
 String formatting functions used by Bond.
file  include/bond/stl/cstdlib.h
 Conversions from text to numbers, used by the lexer and Bond's string standard library.
file  include/bond/stl/list.h
 The doubly linked list container used by Bond.
file  include/bond/stl/map.h
 The ordered associative container used by Bond.
file  include/bond/stl/memory.h
 Smart pointers used by Bond.
file  include/bond/stl/stlallocator.h
 An adaptor that allows standard library containers to allocate memory from a Bond::Allocator.
file  include/bond/stl/stringview.h
 The non-owning string type used by Bond.
file  include/bond/stl/typetraits.h
 Type traits used by Bond.
file  include/bond/stl/utility.h
 Utility functions used by Bond.
file  include/bond/stl/vector.h
 The dynamic array container used by Bond.

Classes

class  Bond::AutoStack< ValueType >
 A stack whose elements are automatic variables. More...

Typedefs

typedef AutoStack< bool > Bond::BoolStack
 An AutoStack of bool values.
typedef AutoStack< int32_t > Bond::IntStack
 An AutoStack of int32_t values.
typedef AutoStack< uint32_t > Bond::UIntStack
 An AutoStack of uint32_t values.
typedef AutoStack< size_t > Bond::SizeStack
 An AutoStack of size_t values.

Functions

BOND_API void Bond::PrintTo (const StringView &str, OutputStream &stream)
 Writes the characters of a StringView to the provided output stream.

Detailed Description

These headers provide the containers, algorithms and C library functions used by Bond.

By default they forward to the C++ standard library. Each one can be replaced with a custom implementation by defining the USER_BOND_*_HEADER macro named in its documentation.

Typedef Documentation

◆ BoolStack

typedef AutoStack<bool> Bond::BoolStack

An AutoStack of bool values.

◆ IntStack

typedef AutoStack<int32_t> Bond::IntStack

An AutoStack of int32_t values.

◆ SizeStack

typedef AutoStack<size_t> Bond::SizeStack

An AutoStack of size_t values.

◆ UIntStack

typedef AutoStack<uint32_t> Bond::UIntStack

An AutoStack of uint32_t values.

Function Documentation

◆ PrintTo()

BOND_API void Bond::PrintTo ( const StringView & str,
OutputStream & stream )

Writes the characters of a StringView to the provided output stream.

Parameters
strThe StringView whose characters are written.
streamThe stream to which the characters of the StringView are written.