What is the preferred amount of blank lines before the first function
definition inside a namespace? I have a seen single blank line as well as
two blank lines in our code base.

For example, in the following snippet from a cpp file, how many blank lines
should be inserted at A1, A2 and B?

namespace mesos {
        <- A1. Single blank line or two?
using mesos::slave::Flags;
        <- A2. Single blank line or two?
void foo()
{
}


void bar ()
{
}
        <- B. Single blank line or two?
} // namespace mesos {


Kapil

Reply via email to