- /** Adds the name of a future object, guessing its type. If a type matching
- the name can't be found, nothing is done. */
- void add_future(const std::string &name);
-
- /** Adds the name of a future object, using a keyword to determine its type.
- The keyword must be known to the collection. */
- void add_future_with_keyword(const std::string &name, const std::string &);
-
-public:
- /// Gets a typed object from the collection.
+ /** Gets a typed object from the collection. If the name is not found,
+ automatic creation with the type's creator function (if defined) or from
+ sources (if present) is attempted. */