Skip to content

Commit bdf5c80

Browse files
halleysfifthincbarche
authored andcommitted
Use nested namespace declarations
1 parent 3474a9d commit bdf5c80

15 files changed

+15
-90
lines changed

src/stl_deque.cpp

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
#include "jlcxx/stl.hpp"
22

3-
namespace jlcxx
4-
{
5-
6-
namespace stl
3+
namespace jlcxx::stl
74
{
85

96
void apply_deque()
@@ -12,5 +9,3 @@ void apply_deque()
129
}
1310

1411
}
15-
16-
}

src/stl_forward_list.cpp

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
#include "jlcxx/stl.hpp"
22

3-
namespace jlcxx
4-
{
5-
6-
namespace stl
3+
namespace jlcxx::stl
74
{
85

96
void apply_forward_list()
@@ -12,5 +9,3 @@ void apply_forward_list()
129
}
1310

1411
}
15-
16-
}

src/stl_list.cpp

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
#include "jlcxx/stl.hpp"
22

3-
namespace jlcxx
4-
{
5-
6-
namespace stl
3+
namespace jlcxx::stl
74
{
85

96
void apply_list()
@@ -12,5 +9,3 @@ void apply_list()
129
}
1310

1411
}
15-
16-
}

src/stl_multiset.cpp

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
#include "jlcxx/stl.hpp"
22

3-
namespace jlcxx
4-
{
5-
6-
namespace stl
3+
namespace jlcxx::stl
74
{
85

96
void apply_multiset()
@@ -12,5 +9,3 @@ void apply_multiset()
129
}
1310

1411
}
15-
16-
}

src/stl_priority_queue.cpp

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
#include "jlcxx/stl.hpp"
22

3-
namespace jlcxx
4-
{
5-
6-
namespace stl
3+
namespace jlcxx::stl
74
{
85

96
void apply_priority_queue()
@@ -12,5 +9,3 @@ void apply_priority_queue()
129
}
1310

1411
}
15-
16-
}

src/stl_queue.cpp

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
#include "jlcxx/stl.hpp"
22

3-
namespace jlcxx
4-
{
5-
6-
namespace stl
3+
namespace jlcxx::stl
74
{
85

96
void apply_queue()
@@ -12,5 +9,3 @@ void apply_queue()
129
}
1310

1411
}
15-
16-
}

src/stl_set.cpp

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
#include "jlcxx/stl.hpp"
22

3-
namespace jlcxx
4-
{
5-
6-
namespace stl
3+
namespace jlcxx::stl
74
{
85

96
void apply_set()
@@ -12,5 +9,3 @@ void apply_set()
129
}
1310

1411
}
15-
16-
}

src/stl_shared_ptr.cpp

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
#include "jlcxx/stl.hpp"
22

3-
namespace jlcxx
4-
{
5-
6-
namespace stl
3+
namespace jlcxx::stl
74
{
85

96
void apply_shared_ptr()
@@ -12,5 +9,3 @@ void apply_shared_ptr()
129
}
1310

1411
}
15-
16-
}

src/stl_stack.cpp

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
#include "jlcxx/stl.hpp"
22

3-
namespace jlcxx
4-
{
5-
6-
namespace stl
3+
namespace jlcxx::stl
74
{
85

96
void apply_stack()
@@ -12,5 +9,3 @@ void apply_stack()
129
}
1310

1411
}
15-
16-
}

src/stl_unique_ptr.cpp

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
#include "jlcxx/stl.hpp"
22

3-
namespace jlcxx
4-
{
5-
6-
namespace stl
3+
namespace jlcxx::stl
74
{
85

96
void apply_unique_ptr()
@@ -12,5 +9,3 @@ void apply_unique_ptr()
129
}
1310

1411
}
15-
16-
}

0 commit comments

Comments
 (0)