Hi Andy,

I’ll let a minify-cpp veteran jump in if I have this wrong, but I believe we 
are following the Google C++ Style Guide [1]. As it is my first time following 
this style, it caused me to do a double take as well :-)

The Google C++ Style Guide does specify entries under public, protected, and 
private sections are indented one space [2]

[1] https://google.github.io/styleguide/cppguide.html
[2] https://google.github.io/styleguide/cppguide.html#Class_Format 

-- Kevin

On 5/2/17, 10:35, "Andrew Christianson" <[email protected]> 
wrote:

    On closer inspection, it looks like just the public/private/etc. specifiers 
are single-space indented, with the rest being two-spaces. Is this intentional?
    ________________________________________
    From: Andrew Christianson
    Sent: Tuesday, May 2, 2017 10:33:27 AM
    To: [email protected]
    Subject: MiNiFi CPP indentation confusion (Re: MINIFI-244)
    
    Working on merging my code for MINIFI-244 with the latest refactoring where 
all of the classes have been put into nested namespaces. Looking at sibling 
files, it looks like several of them are indented with one space. This 
surprises me. What's the preferred indentation/code style? Two spaces? This 
would be a first for me if we're actually going for single-space indentation.
    
    Regards,
    
    Andy
    


Reply via email to