ax_cxx_erase_iterator_type

Synopsis

AX_CXX_ERASE_ITERATOR_TYPE

Description

If the compiler supports define erase with constant iterator or with classical iterator.

Define autoconfigured_erase_iterator to const_iterator if supported and iterator if not supported.

Define HAVE_ERASE_CONSTANT_ITERATOR if supported

Source Code

Download the latest version of ax_cxx_erase_iterator_type.m4 or browse the macro’s revision history.

License

Copyright © 2015 Bastien ROUCARIES

Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. This file is offered as-is, without any warranty.