Template Class name_value_pair

Inheritance Relationships

Derived Types

Class Documentation

template<typename T>
class name_value_pair

base struct to capture named values in a structure for serializing

Subclassed by mxml::attribute_nvp< T >, mxml::element_nvp< T >

Public Functions

inline name_value_pair(std::string name, T &value)

constructor

inline const std::string &name() const
inline T &value() const