A fixed-size array with the size determined at runtime. More...
#include <cstddef>#include <memory>#include <type_traits>#include <utility>#include <userver/utils/assert.hpp>
Include dependency graph for fixed_array.hpp:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| class | utils::FixedArray< T > |
| A fixed-size array with the size determined at runtime. More... | |
Namespaces | |
| namespace | utils |
| Utilities. | |
Functions | |
| template<class GeneratorFunc > | |
| auto | utils::GenerateFixedArray (std::size_t size, GeneratorFunc &&generator) |
Applies generator to indices in the range [0, size), storing the results in a new utils::FixedArray. The generator is guaranteed to be invoked in the first-to-last order. | |
A fixed-size array with the size determined at runtime.
Definition in file fixed_array.hpp.