25 #ifndef INCLUDED_HandlerContainer_h_GUID_EAD5E6BA_FEDA_428B_0F12_B30FBE4AD6DB
26 #define INCLUDED_HandlerContainer_h_GUID_EAD5E6BA_FEDA_428B_0F12_B30FBE4AD6DB
44 for (
auto const &handler : m_handlers) {
49 void add(RemoteHandlerPtr
const &handler) {
54 m_handlers.insert(handler);
57 void remove(RemoteHandlerPtr
const &handler) {
62 m_handlers.remove(handler);
66 typedef std::vector<RemoteHandlerPtr> BaseContainer;
69 util::container_policies::iterators>
71 InternalHandlerContainer m_handlers;
76 #endif // INCLUDED_HandlerContainer_h_GUID_EAD5E6BA_FEDA_428B_0F12_B30FBE4AD6DB
A basic policy for use with a vector or similar container, where you don't expect a lot of additions ...
Wrapper for a container of handlers.
A "Unique Container" designed for composition, not inheritance.