6#include <unordered_map>
19 std::unordered_map<std::type_index, std::shared_ptr<void>>
features;
33 return std::static_pointer_cast<T>(it->second);
std::unordered_map< std::type_index, std::shared_ptr< void > > features
std::string function_name
Name of the function.
std::shared_ptr< T > get_feature() const
void add_feature(std::shared_ptr< T > feature)