On Monday, 19 November 2018 12:41:46 PST Thiago Macieira wrote:
> It is allowed, unless the maintainer objects to it.
> 
> I object to it in QtCore.

I also insist that the opening brace in non-nested classes, enums and in any 
functions be placed in a new line (unless the entire function is in one line)

bool X::foo() { return m_value; }       // ok

class Foo { // not ok
public:
    bool foo() const { // not ok
        return m_value;
    } 
};

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center



_______________________________________________
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to