Skip to content

Commit 4212149

Browse files
committed
fix typo in samples
1 parent 5259ff6 commit 4212149

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

reference/flat_map/flat_map/emplace.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ struct Point {
8888

8989
int main()
9090
{
91-
stdx::flat_map<std::string, Point> fm;
91+
std::flat_map<std::string, Point> fm;
9292

9393
fm.emplace(std::piecewise_construct,
9494
std::forward_as_tuple(3, 'C'), // キーの型std::stringのコンストラクタ引数を渡す

reference/flat_map/flat_map/empty.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131

3232
int main ()
3333
{
34-
stdx::flat_map<int, char> fm;
34+
std::flat_map<int, char> fm;
3535

3636
std::cout << fm.empty() << std::endl;
3737

reference/flat_map/flat_map/op_compare_3way.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,13 @@ return lexicographical_compare_three_way(
5050

5151
int main()
5252
{
53-
stdx::flat_map<int, char> fm1 = {
53+
std::flat_map<int, char> fm1 = {
5454
{3, 'a'},
5555
{1, 'b'},
5656
{4, 'c'}
5757
};
5858

59-
stdx::flat_map<int, char> fm2 = {
59+
std::flat_map<int, char> fm2 = {
6060
{3, 'a'},
6161
{1, 'b'},
6262
};

0 commit comments

Comments
 (0)