Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext
insert(ConvertibleOrRange const &)

Insert a value created using convertible object or a range of values to the index.

Synopsis
template<typename ConvertibleOrRange>
void insert(ConvertibleOrRange const & conv_or_rng)
Parameter(s)

Type

Name

Description

ConvertibleOrRange const &

conv_or_rng

An object of type convertible to value_type or a range of values.

Throws
[Warning] Warning

This operation only guarantees that there will be no memory leaks. After an exception is thrown the R-tree may be left in an inconsistent state, elements must not be inserted or removed. Other operations are allowed however some of them may return invalid data.


PrevUpHomeNext