ImmediateDetach Struct Reference
Detailed Description
template<typename _Container, typename _Item>
struct lemon::AlterationNotifier< _Container, _Item >::ImmediateDetach
From the
clear() and
erase() function only this exception is allowed to throw. The exception immediatly detaches the current observer from the notifier. Because the
clear() and
erase() should not throw other exceptions it can be used to invalidate the observer.
#include <lemon/bits/alteration_notifier.h>