Skip to content

Instantly share code, notes, and snippets.

@jpleau
Created August 20, 2013 23:26
Show Gist options
  • Save jpleau/6288659 to your computer and use it in GitHub Desktop.
Save jpleau/6288659 to your computer and use it in GitHub Desktop.
template <class T> class Property {
public:
Property(T);
T getValue();
void setValue(T);
private:
T m_value;
};
class Entity {
public:
void addProperty(std::string, Property property ); => ???
private:
std::map<std::string, Property m_properties > m_properties; => ????
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment