On 1/13/2014 2:33 PM, Milan Sreckovic wrote:
I didn't mean no inlining :), I was just talking about the format:
class A
{
public:
inline int hello {
return 4;
}
};
vs.
class A
{
public:
inline int hello();
};
inline int A::hello()
{
return 4;
}
We're pretty far from the original discussion. We aren't going to moving
method bodies as part of this initial reformatting effort, so for C++
method bodies which are inline in the class, let's go with Ehsan's
strict style rules:
Method
{ // Must be on the next line
} // Must be on the following line
We can have a separate discussion about whether moving methods below the
class declaration is a good idea.
--BDS
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform