// Erase/EraseIf are based on C++20's uniform container erasure API: // - https://eel.is/c++draft/libraryindex#:erase // - https://eel.is/c++draft/libraryindex#:erase_if // They provide a generic way to erase elements from a container. // The functions here implement these for the standard containers until those // functions are available in the C++ standard. // Note: there is no std::erase for standard associative containers so we don't // have it either.
// This header is provided for convenience, so callers to Erase/EraseIf can just // include this in their .cc file without thinking about which Erase/EraseIf // specialization header to include. For uncommon cases where Erase/EraseIf are // used in .h files, please include the specialization header to avoid bloating // the header.
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.