WPILibC++ 2023.4.3
EpochTracker.h File Reference

This file defines the DebugEpochBase and DebugEpochBase::HandleBase classes. More...

#include <cstdint>

Go to the source code of this file.

Classes

class  wpi::DebugEpochBase
 A base class for data structure classes wishing to make iterators ("handles") pointing into themselves fail-fast. More...
 
class  wpi::DebugEpochBase::HandleBase
 A base class for iterator classes ("handles") that wish to poll for iterator invalidating modifications in the underlying data structure. More...
 

Namespaces

namespace  wpi
 /file This file defines the SmallVector class.
 

Detailed Description

This file defines the DebugEpochBase and DebugEpochBase::HandleBase classes.

These can be used to write iterators that are fail-fast when LLVM is built with asserts enabled.