Are there any good places to get examples for the C++ Google Style Guide?
Google open sources a number of projects, most of which comply with their style guides:
- protocol buffers
- re2 - pcre regular expressions
- perf tools - multithreaded performance analysis tools
- gflags - command line flags
Search Google code for google projects, and you'll find a lot!
http://sites.google.com/a/chromium.org/dev/developers/coding-style http://src.chromium.org/viewvc/chrome/
The source code for Chrome should theoretically follow their standards :)
精彩评论