gcc/libstdc++-v3/doc/html
Jonathan Wakely 12a88e6e20 libstdc++: Deprecate non-standard std::vector<bool>::insert(pos) [PR104559]
The SGI STL and pre-1998 drafts of the C++ standard had a default
argument for vector<bool>::insert(iterator, const bool&) which was
remove by N1051. The default argument is still present in libstdc++ for
some reason. There are no tests verifying it as an extension, so I don't
think it has been kept intentionally.

This removes the default argument but adds an overload without the
second parameter, and adds the deprecated attribute to it. This allows
any code using it to keep working (for now) but with a warning.

libstdc++-v3/ChangeLog:

	PR libstdc++/104559
	* doc/xml/manual/evolution.xml: Document deprecation.
	* doc/html/manual/api.html: Regenerate.
	* include/bits/stl_bvector.h (insert(const_iterator, const bool&)):
	Remove default argument.
	(insert(const_iterator)): New overload with deprecated attribute.
	* testsuite/23_containers/vector/bool/modifiers/insert/104559.cc:
	New test.
2022-02-17 23:44:25 +00:00
..
images
manual libstdc++: Deprecate non-standard std::vector<bool>::insert(pos) [PR104559] 2022-02-17 23:44:25 +00:00
api.html
bk02.html
bk03.html
faq.html
index.html libstdc++: Update default -std option in manual 2022-01-10 12:18:14 +00:00
README

The HTML documentation in this folder is generated from the XML sources.

To change or edit, please edit the XML sources in the ../xml directory.