c++ Programming Glossary: m_state
Should i use the same name for a member variable and a function parameter in C++ http://stackoverflow.com/questions/10250016/should-i-use-the-same-name-for-a-member-variable-and-a-function-parameter-in-c for all member variables then anyone could infer what m_state is. It increases the readability of the code and avoids common.. of the code and avoids common mistakes. Also if m_state is the member then you don't have to write this m_state state.. if m_state is the member then you don't have to write this m_state state in the member function you could just write m_state state..
boost:serialization reconstruction (loading) http://stackoverflow.com/questions/6734814/boostserialization-reconstruction-loading struct my_class my_class Agent A ACTION_MODE const m m_state A M private State m_state friend class boost serialization access.. Agent A ACTION_MODE const m m_state A M private State m_state friend class boost serialization access void save Archive ar.. note version is always the latest when saving Agent tmp_A m_state.get_A ACTION_MODE tmp_m m_state.get_m ar tmp_A ar tmp_m template..
|