[#bsl-vector-027-2constructor-0a8] = xref:bsl.adoc[bsl]::xref:bsl/vector-027.adoc[vector<MetricSampleGroup>]::vector :relfileprefix: ../../ :mrdocs: Create a vector from the elements of the specifed `range`. Optionally specify a `basicAllocator` used to supply memory. If `basicAllocator` is not specified, a default‐constructed object of the (template parameter) type `ALLOCATOR` is used. Note that `range` must meet the requirements of an input range and the values from `range` must have a type matching or convertible to (template parameter) `VALUE_TYPE`. == Synopsis Declared in `<bslstl_vector.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class t_RANGE> vector( std::from_range_t, t_RANGE&& range, xref:bsl/allocator-0df.adoc[allocator<MetricSampleGroup>] const& basicAllocator = ALLOCATOR()); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#