22 #ifndef NDN_DETAIL_CONTAINER_WITH_ON_EMPTY_SIGNAL_HPP
23 #define NDN_DETAIL_CONTAINER_WITH_ON_EMPTY_SIGNAL_HPP
25 #include "../common.hpp"
26 #include "../util/signal.hpp"
82 std::pair<iterator, bool>
88 template<
class Predicate>
103 util::Signal<ContainerWithOnEmptySignal<T>>
onEmpty;
108 #endif // NDN_DETAIL_CONTAINER_WITH_ON_EMPTY_SIGNAL_HPP
iterator erase(iterator item)
Copyright (c) 2013-2016 Regents of the University of California.
A container that emits onEmpty signal when it becomes empty.
Base::value_type value_type
std::pair< iterator, bool > insert(const value_type &value)
util::Signal< ContainerWithOnEmptySignal< T > > onEmpty
Signal to be fired when container becomes empty.
void remove_if(Predicate p)