![]() |
Bitcoin Core 31.0.0
P2P Digital Currency
|
#include <functional>#include <initializer_list>#include <optional>#include <type_traits>#include <utility>#include <vector>Go to the source code of this file.
Functions | |
| template<typename... Args> | |
| std::vector< std::common_type_t< Args... > > | Vector (Args &&... args) |
| Construct a vector with the specified elements. | |
| template<typename V > | |
| V | Cat (V v1, V &&v2) |
| Concatenate two vectors, moving elements. | |
| template<typename V > | |
| V | Cat (V v1, const V &v2) |
| Concatenate two vectors. | |
| template<typename V > | |
| void | ClearShrink (V &v) noexcept |
| Clear a vector (or std::deque) and release its allocated memory. | |
| template<typename V , typename L > | |
| std::optional< V > | FindFirst (const std::vector< V > &vec, const L fnc) |
|
inline |
|
inline |
Construct a vector with the specified elements.
This is preferable over the list initializing constructor of std::vector:
Definition at line 23 of file vector.h.