indent_namespace
Whether to indent the body of a 'namespace'.
Possible values are true and false, default false.
Examples
true
Code before:
namespace mmm
{
const double v1 = 100;
double value() {
return 2*v1;
}
}
Code after:
namespace mmm
{
const double v1 = 100;
double value() {
return 2*v1;
}
}
See also
- indent_namespace_single_indent - Whether to indent only the first namespace, and not any nested namespaces. Requires
indent_namespace=true
. - indent_namespace_level - The number of spaces to indent a namespace block. (overrides indent_columns)
- indent_namespace_limit - If the body of the namespace is longer than this number, it won't be indented. Requires
indent_namespace=true
.