Skip to content

[C++] Use C++17's nested namespaces #36620

@westonpace

Description

@westonpace

Describe the enhancement requested

I'm seeing some PRs start to prefer the nested namespace notation. I know clang-tidy prefers it. It is more compact and now that we are on C++ 17 I don't see any reason we shouldn't move everything over.

Before:

namespace arrow {
namespace util {
namespace internal {

After:

namespace arrow::util::internal {

Sub issues:

Component(s)

C++

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions