[#bitdeque-assign-08] = xref:bitdeque.adoc[bitdeque]::assign :relfileprefix: ../ :mrdocs: `assign` overloads == Synopses Declared in `<util/bitdeque.h>` Set the container equal to the bits in ilist. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:bitdeque/assign-05.adoc[assign](std::initializer_list<bool> ilist); ---- [.small]#xref:bitdeque/assign-05.adoc[_» more..._]# Set the container equal to count times the value of val. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:bitdeque/assign-06.adoc[assign]( xref:bitdeque/size_type.adoc[size_type] count, bool val); ---- [.small]#xref:bitdeque/assign-06.adoc[_» more..._]# Set the container equal to the bits in [first,last).] [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<typename It> void xref:bitdeque/assign-01.adoc[assign]( It first, It last); ---- [.small]#xref:bitdeque/assign-01.adoc[_» more..._]# == Parameters [cols="1,4"] |=== | Name| Description | *ilist* | Initializer list of bit values to copy. | *count* | Number of bits the container holds afterwards. | *val* | Value assigned to every bit. | *first* | Iterator to the first bit to copy. | *last* | Iterator past the last bit to copy. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#