For top-level function definitions, the recommended style is: template<typename T> static inline T Foo() { // ... }
However, for function declarations and inline member functions, there does not seem to be a definitive style. Some use: int Foo(); class Bar { virtual int Baz() { // ... } }; ... and others use: int Foo(); class Bar { virtual int Baz() { // ... } }; Which one should be preferred? _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform