Original Post
Is it considered bad style to include short, one-line member function implementation in the specification of a class? Take, for example, the constructor, and active and quit functions in the following:
class GameStack
{
public:
// Constructor
GameStack() : m_active(true) {}
...
bool active() { return m_active; }
void quit() { m_active = false; }
private:
...
bool m_active;
};