| Home | Libraries | People | FAQ | More

##### insert(Range const &)

Insert a range of values to the index.

###### Synopsis

    template<typename Range>
    void insert(Range const & rng)

###### Parameter(s)

Type | Name | Description
--- | --- | ---
`Range const &` | `rng` | The range of values.

###### Throws

- If Value copy constructor or copy assignment throws.
- If allocation throws or returns invalid value.

| 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.