boost::capy::make_buffer
Return a buffer from a const std::vector.
Synopsis
template<
class T,
class Allocator>
requires std::is_trivially_copyable_v<T>
[[nodiscard]]
const_buffer
make_buffer(std::vector<T, Allocator> const& data) noexcept;
Parameters
| Name | Description |
|---|---|
data |
A standard container which offers fixed time access to individual elements in any order. |
Created with MrDocs