[Bug libstdc++/98473] std::vector<T>::insert(pos, first, last) doesn't compile for T which has a deleted assignment operator

b.stanimirov at abv dot bg gcc-bugzilla@gcc.gnu.org
Tue Jan 5 07:08:12 GMT 2021


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98473

--- Comment #3 from Borislav Stanimirov <b.stanimirov at abv dot bg> ---
By the way, this is not just some esoteric synthetic example. A type which is
copy-constructible but not copy-assignable is very useful to model immutable
objects.


More information about the Gcc-bugs mailing list