This file is a GNU debug extension to the Standard C++ Library.
Definition in file macros.h.
| #define __glibcxx_check_insert_range |
( |
|
_Position, |
|
|
|
_First, |
|
|
|
_Last |
|
) |
| |
Verify that we can insert the values in the iterator range [_First, _Last) into *this with the iterator _Position. Insertion into a container at a specific position requires that the iterator be nonsingular (i.e., either dereferenceable or past-the-end), that it reference the sequence we are inserting into, and that the iterator range [_First, Last) is a valid (possibly empty) range. Note that this macro is only valid when the container is a _Safe_sequence and the iterator is a _Safe_iterator.
- Todo:
- We would like to be able to check for noninterference of _Position and the range [_First, _Last), but that can't (in general) be done.
Definition at line 111 of file macros.h.
| #define __glibcxx_check_insert_range_after |
( |
|
_Position, |
|
|
|
_First, |
|
|
|
_Last |
|
) |
| |
Verify that we can insert the values in the iterator range [_First, _Last) into *this after the iterator _Position. Insertion into a container after a specific position requires that the iterator be nonsingular (i.e., either dereferenceable or past-the-end), that it reference the sequence we are inserting into, and that the iterator range [_First, Last) is a valid (possibly empty) range. Note that this macro is only valid when the container is a _Safe_sequence and the iterator is a _Safe_iterator.
- Todo:
- We would like to be able to check for noninterference of _Position and the range [_First, _Last), but that can't (in general) be done.
Definition at line 128 of file macros.h.