[#bsl-vector-099-assign-0b] = xref:bsl.adoc[bsl]::xref:bsl/vector-099.adoc[vector<pair<Date, DayOfWeekSet>>]::assign :relfileprefix: ../../ :mrdocs: Assign to this object the value resulting from first clearing this vector and then inserting the specified `numElements` copies of the specified `value`. If an exception is thrown, `*this` is left in a valid but unspecified state. Throw `std::length_error` if `numElements > max_size()`. This method requires that the (template parameter) type `VALUE_TYPE` be `copy‐insertable` into this vector (see {Requirements on `VALUE_TYPE`}). == Synopsis Declared in `<bslstl_vector.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void assign( xref:bsl/vector-099/size_type.adoc[size_type] numElements, xref:bsl/pair-0b.adoc[pair<Date, DayOfWeekSet>] const& value); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#