namespace std

std

STL namespace.

Functions

Name
template <typename T >
void
operator+=(std::vector< T > & v, const T & x)
Append a single item to vector v.
template <typename T >
void
operator+=(std::vector< T > & v1, const std::vector< T > & v2)
Append all the items from vector v2 to vector v1.
template <typename T >
std::vector< T >
operator+(const std::vector< T > & v1, const std::vector< T > & v2)
Create a new vector from the concatenated items in vectors v1 and v2.
template <typename T >
void
operator+=(std::set< T > & s1, const std::set< T > & s2)
Merge the contents of set s2 into s1.
template <typename T >
std::set< T >
operator+(const std::set< T > & s1, const std::set< T > & s2)
Merge the contents of sets s1 and s2.
template <typename T ,typename… U>
uintptr_t
get_address(std::function< T(U…)> f)
Get a function pointer / hash integer from an std::function.

Functions Documentation

function operator+=

template <typename T >
inline void operator+=(
    std::vector< T > & v,
    const T & x
)

Append a single item to vector v.

function operator+=

template <typename T >
inline void operator+=(
    std::vector< T > & v1,
    const std::vector< T > & v2
)

Append all the items from vector v2 to vector v1.

function operator+

template <typename T >
inline std::vector< T > operator+(
    const std::vector< T > & v1,
    const std::vector< T > & v2
)

Create a new vector from the concatenated items in vectors v1 and v2.

function operator+=

template <typename T >
inline void operator+=(
    std::set< T > & s1,
    const std::set< T > & s2
)

Merge the contents of set s2 into s1.

function operator+

template <typename T >
inline std::set< T > operator+(
    const std::set< T > & s1,
    const std::set< T > & s2
)

Merge the contents of sets s1 and s2.

function get_address

template <typename T ,
typename... U>
inline uintptr_t get_address(
    std::function< T(U...)> f
)

Get a function pointer / hash integer from an std::function.


Updated on 2022-08-07 at 20:17:16 +0100