Report question

Question: Why are C++ methods sometimes defined inside classes?