std cpp snippets