indent_namespace_inner_only
Category: Indenting options Type: boolean [false, true] Default: false
Whether to indent only in inner namespaces (nested in other namespaces). Requires indent_namespace=true.
raw CPP code | indent_namespace_inner_only=false | indent_namespace_inner_only=true |
---|---|---|
using namespace std::string_literals; namespace A{int i;}; namespace B{int i;int j;namespace C{namespace D{int k;}}} | using namespace std::string_literals; namespace A {int i;}; namespace B {int i; int j; namespace C {namespace D {int k;}}} | using namespace std::string_literals; namespace A {int i;}; namespace B {int i; int j; namespace C {namespace D {int k;}}} |
Not the best code for this option? See how to improve the .uds file used to generate these examples.