Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

erase/erase_ifの戻り値型を修正 #817

Merged
merged 2 commits into from
Nov 16, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion reference/deque/deque/erase_free.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
```cpp
namespace std {
template <class T, class Allocator, class U>
void erase(deque<T, Allocator>& c, const U& value);
typename deque<T, Allocator>::size_type erase(deque<T, Allocator>& c, const U& value);
}
```

Expand Down
2 changes: 1 addition & 1 deletion reference/deque/deque/erase_if_free.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
```cpp
namespace std {
template <class T, class Allocator, class Predicate>
void erase_if(deque<T, Allocator>& c, Predicate pred);
typename deque<T, Allocator>::size_type erase_if(deque<T, Allocator>& c, Predicate pred);
}
```

Expand Down
2 changes: 1 addition & 1 deletion reference/forward_list/forward_list/erase_free.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
```cpp
namespace std {
template <class T, class Allocator, class U>
void erase(forward_list<T, Allocator>& c, const U& value);
typename forward_list<T, Allocator>::size_type erase(forward_list<T, Allocator>& c, const U& value);
}
```

Expand Down
2 changes: 1 addition & 1 deletion reference/forward_list/forward_list/erase_if_free.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
```cpp
namespace std {
template <class T, class Allocator, class Predicate>
void erase_if(list<T, Allocator>& c, Predicate pred);
typename forward_list<T, Allocator>::size_type erase_if(forward_list<T, Allocator>& c, Predicate pred);
}
```

Expand Down
2 changes: 1 addition & 1 deletion reference/list/list/erase_free.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
```cpp
namespace std {
template <class T, class Allocator, class U>
void erase(list<T, Allocator>& c, const U& value);
typename list<T, Allocator>::size_type erase(list<T, Allocator>& c, const U& value);
}
```

Expand Down
2 changes: 1 addition & 1 deletion reference/list/list/erase_if_free.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
```cpp
namespace std {
template <class T, class Allocator, class Predicate>
void erase_if(list<T, Allocator>& c, Predicate pred);
typename list<T, Allocator>::size_type erase_if(list<T, Allocator>& c, Predicate pred);
}
```

Expand Down
3 changes: 2 additions & 1 deletion reference/string/basic_string/erase_free.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
```cpp
namespace std {
template <class CharT, class Traits, class Allocator, class U>
void erase(basic_string<CharT, Traits, Allocator>& c, const U& value);
typename basic_string<CharT, Traits, Allocator>::size_type
erase(basic_string<CharT, Traits, Allocator>& c, const U& value);
}
```

Expand Down
3 changes: 2 additions & 1 deletion reference/string/basic_string/erase_if_free.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
```cpp
namespace std {
template <class CharT, class Traits, class Allocator, class Predicate>
void erase_if(basic_string<CharT, Traits, Allocator>& c, Predicate pred);
typename basic_string<CharT, Traits, Allocator>::size_type
erase_if(basic_string<CharT, Traits, Allocator>& c, Predicate pred);
}
```

Expand Down
2 changes: 1 addition & 1 deletion reference/vector/vector/erase_free.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
```cpp
namespace std {
template <class T, class Allocator, class U>
void erase(vector<T, Allocator>& c, const U& value);
typename vector<T, Allocator>::size_type erase(vector<T, Allocator>& c, const U& value);
}
```

Expand Down
2 changes: 1 addition & 1 deletion reference/vector/vector/erase_if_free.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
```cpp
namespace std {
template <class T, class Allocator, class Predicate>
void erase_if(vector<T, Allocator>& c, Predicate pred);
typename vector<T, Allocator>::size_type erase_if(vector<T, Allocator>& c, Predicate pred);
}
```

Expand Down