#include <msp/core/attributes.h>
#include <msp/core/maputils.h>
#include <msp/core/noncopyable.h>
#include <msp/core/attributes.h>
#include <msp/core/maputils.h>
#include <msp/core/noncopyable.h>
const Variant *var = find_var(name, get_type<NCT>(name));
return (var ? &extract<NCT>(*var) : 0);
}
const Variant *var = find_var(name, get_type<NCT>(name));
return (var ? &extract<NCT>(*var) : 0);
}
- gather_items<typename RemoveConst<T>::Type>(0, &names, 0, false);
+ gather_items<typename std::remove_cv<T>::type>(0, &names, 0, false);
- gather_items<typename RemoveConst<T>::Type>(0, &names, 0, true);
+ gather_items<typename std::remove_cv<T>::type>(0, &names, 0, true);
- gather_items<typename RemoveConst<T>::Type>(&vars, 0, 0, false);
+ gather_items<typename std::remove_cv<T>::type>(&vars, 0, 0, false);
- gather_items<typename RemoveConst<T>::Type>(&vars, 0, type, true);
+ gather_items<typename std::remove_cv<T>::type>(&vars, 0, type, true);
/// Checks whether a typed object exists in the collection.
template<typename T>
bool contains(const std::string &name) const
/// Checks whether a typed object exists in the collection.
template<typename T>
bool contains(const std::string &name) const
/** Checks whether a typed object exists in the collection or is loadable
from a source. */
template<typename T>
bool contains(const std::string &name)
/** Checks whether a typed object exists in the collection or is loadable
from a source. */
template<typename T>
bool contains(const std::string &name)