Small and concise C++ code snippets