Compartilhar via


_HAS_ITERATOR_DEBUGGING

Defines whether the iterator debugging feature is enabled in a debug build. By default, iterator debugging is enabled. For more information, see Debug Iterator Support.

Important

Use _ITERATOR_DEBUG_LEVEL to control _HAS_ITERATOR_DEBUGGING. For more information, see _ITERATOR_DEBUG_LEVEL.

Remarks

To enable iterator debugging in debug builds, set _HAS_ITERATOR_DEBUGGING to 1:

#define _HAS_ITERATOR_DEBUGGING 1

_HAS_ITERATOR_DEBUGGING cannot be set to 1 in retail builds.

To disable iterator debugging in debug builds, set _HAS_ITERATOR_DEBUGGING to 0:

#define _HAS_ITERATOR_DEBUGGING 0

See Also

Reference

_ITERATOR_DEBUG_LEVEL

Debug Iterator Support

Checked Iterators

Safe Libraries: C++ Standard Library