-protected:
- /** Adds the name of a future object to the collection. The object itself
- will be loaded on first access. The calling subclass should be prepared to
- create the object on request. */
- template<typename T>
- void add_future(const std::string &name)
- {
- RefPtr<typename RemoveConst<T>::Type> ptr(0);
- insert_unique(items, name, ptr);
- }
-
- void add_future(const std::string &name);
-
-public: