Skip to content

Commit

Permalink
add C++03 version
Browse files Browse the repository at this point in the history
  • Loading branch information
suomesta committed Sep 30, 2023
1 parent d172c77 commit 46a08ba
Show file tree
Hide file tree
Showing 35 changed files with 130 additions and 55 deletions.
7 changes: 5 additions & 2 deletions reference/deque/deque/begin.md
Expand Up @@ -5,8 +5,11 @@
* function[meta id-type]

```cpp
iterator begin() noexcept;
const_iterator begin() const noexcept;
iterator begin(); // (1) C++03
iterator begin() noexcept; // (1) C++11

const_iterator begin() const; // (2) C++03
const_iterator begin() const noexcept; // (2) C++11
```

## 概要
Expand Down
3 changes: 2 additions & 1 deletion reference/deque/deque/clear.md
Expand Up @@ -5,7 +5,8 @@
* function[meta id-type]

```cpp
void clear() noexcept;
void clear(); // C++03
void clear() noexcept; // C++11
```

## 概要
Expand Down
7 changes: 5 additions & 2 deletions reference/deque/deque/end.md
Expand Up @@ -5,8 +5,11 @@
* function[meta id-type]

```cpp
iterator end() noexcept;
const_iterator end() const noexcept;
iterator end(); // (1) C++03
iterator end() noexcept; // (1) C++11

const_iterator end() const; // (2) C++03
const_iterator end() const noexcept; // (2) C++11
```

## 概要
Expand Down
3 changes: 2 additions & 1 deletion reference/deque/deque/max_size.md
Expand Up @@ -5,7 +5,8 @@
* function[meta id-type]

```cpp
size_type max_size() const noexcept;
size_type max_size() const; // C++03
size_type max_size() const noexcept; // C++11
```

## 概要
Expand Down
7 changes: 5 additions & 2 deletions reference/deque/deque/rbegin.md
Expand Up @@ -5,8 +5,11 @@
* function[meta id-type]

```cpp
reverse_iterator rbegin() noexcept;
const_reverse_iterator rbegin() const noexcept;
reverse_iterator rbegin(); // (1) C++03
reverse_iterator rbegin() noexcept; // (1) C++11

const_reverse_iterator rbegin() const; // (2) C++03
const_reverse_iterator rbegin() const noexcept; // (2) C++11
```

## 概要
Expand Down
7 changes: 5 additions & 2 deletions reference/deque/deque/rend.md
Expand Up @@ -5,8 +5,11 @@
* function[meta id-type]

```cpp
reverse_iterator rend() noexcept;
const_reverse_iterator rend() const noexcept;
reverse_iterator rend(); // (1) C++03
reverse_iterator rend() noexcept; // (1) C++11

const_reverse_iterator rend() const; // (2) C++03
const_reverse_iterator rend() const noexcept; // (2) C++11
```

## 概要
Expand Down
3 changes: 2 additions & 1 deletion reference/deque/deque/size.md
Expand Up @@ -5,7 +5,8 @@
* function[meta id-type]

```cpp
size_type size() const noexcept;
size_type size() const; // C++03
size_type size() const noexcept; // C++11
```

## 概要
Expand Down
7 changes: 5 additions & 2 deletions reference/map/map/begin.md
Expand Up @@ -5,8 +5,11 @@
* function[meta id-type]

```cpp
iterator begin() noexcept;
const_iterator begin() const noexcept;
iterator begin(); // (1) C++03
iterator begin() noexcept; // (1) C++11

const_iterator begin() const; // (2) C++03
const_iterator begin() const noexcept; // (2) C++11
```


Expand Down
3 changes: 2 additions & 1 deletion reference/map/map/clear.md
Expand Up @@ -5,7 +5,8 @@
* function[meta id-type]

```cpp
void clear() noexcept;
void clear(); // C++03
void clear() noexcept; // C++11
```

## 概要
Expand Down
7 changes: 5 additions & 2 deletions reference/map/map/end.md
Expand Up @@ -5,8 +5,11 @@
* function[meta id-type]

```cpp
iterator end() noexcept;
const_iterator end() const noexcept;
iterator end(); // (1) C++03
iterator end() noexcept; // (1) C++11

const_iterator end() const; // (2) C++03
const_iterator end() const noexcept; // (2) C++11
```

## 概要
Expand Down
3 changes: 2 additions & 1 deletion reference/map/map/max_size.md
Expand Up @@ -5,7 +5,8 @@
* function[meta id-type]

```cpp
size_type max_size() const noexcept;
size_type max_size() const; // C++03
size_type max_size() const noexcept; // C++11
```

## 概要
Expand Down
7 changes: 5 additions & 2 deletions reference/map/map/rbegin.md
Expand Up @@ -5,8 +5,11 @@
* function[meta id-type]

```cpp
reverse_iterator rbegin() noexcept;
const_reverse_iterator rbegin() const noexcept;
reverse_iterator rbegin(); // (1) C++03
reverse_iterator rbegin() noexcept; // (1) C++11

const_reverse_iterator rbegin() const; // (2) C++03
const_reverse_iterator rbegin() const noexcept; // (2) C++11
```

## 概要
Expand Down
7 changes: 5 additions & 2 deletions reference/map/map/rend.md
Expand Up @@ -5,8 +5,11 @@
* function[meta id-type]

```cpp
reverse_iterator rend() noexcept;
const_reverse_iterator rend() const noexcept;
reverse_iterator rend(); // (1) C++03
reverse_iterator rend() noexcept; // (1) C++11

const_reverse_iterator rend() const; // (2) C++03
const_reverse_iterator rend() const noexcept; // (2) C++11
```

## 概要
Expand Down
3 changes: 2 additions & 1 deletion reference/map/map/size.md
Expand Up @@ -5,7 +5,8 @@
* function[meta id-type]

```cpp
size_type size() const noexcept;
size_type size() const; // C++03
size_type size() const noexcept; // C++11
```

## 概要
Expand Down
7 changes: 5 additions & 2 deletions reference/map/multimap/begin.md
Expand Up @@ -5,8 +5,11 @@
* function[meta id-type]

```cpp
iterator begin() noexcept;
const_iterator begin() const noexcept;
iterator begin(); // (1) C++03
iterator begin() noexcept; // (1) C++11

const_iterator begin() const; // (2) C++03
const_iterator begin() const noexcept; // (2) C++11
```


Expand Down
3 changes: 2 additions & 1 deletion reference/map/multimap/clear.md
Expand Up @@ -5,7 +5,8 @@
* function[meta id-type]

```cpp
void clear() noexcept;
void clear(); // C++03
void clear() noexcept; // C++11
```

## 概要
Expand Down
7 changes: 5 additions & 2 deletions reference/map/multimap/end.md
Expand Up @@ -5,8 +5,11 @@
* function[meta id-type]

```cpp
iterator end() noexcept;
const_iterator end() const noexcept;
iterator end(); // (1) C++03
iterator end() noexcept; // (1) C++11

const_iterator end() const; // (2) C++03
const_iterator end() const noexcept; // (2) C++11
```

## 概要
Expand Down
3 changes: 2 additions & 1 deletion reference/map/multimap/max_size.md
Expand Up @@ -5,7 +5,8 @@
* function[meta id-type]

```cpp
size_type max_size() const noexcept;
size_type max_size() const; // C++03
size_type max_size() const noexcept; // C++11
```

## 概要
Expand Down
7 changes: 5 additions & 2 deletions reference/map/multimap/rbegin.md
Expand Up @@ -5,8 +5,11 @@
* function[meta id-type]

```cpp
reverse_iterator rbegin() noexcept;
const_reverse_iterator rbegin() const noexcept;
reverse_iterator rbegin(); // (1) C++03
reverse_iterator rbegin() noexcept; // (1) C++11

const_reverse_iterator rbegin() const; // (2) C++03
const_reverse_iterator rbegin() const noexcept; // (2) C++11
```

## 概要
Expand Down
7 changes: 5 additions & 2 deletions reference/map/multimap/rend.md
Expand Up @@ -5,8 +5,11 @@
* function[meta id-type]

```cpp
reverse_iterator rend() noexcept;
const_reverse_iterator rend() const noexcept;
reverse_iterator rend(); // (1) C++03
reverse_iterator rend() noexcept; // (1) C++11

const_reverse_iterator rend() const; // (2) C++03
const_reverse_iterator rend() const noexcept; // (2) C++11
```

## 概要
Expand Down
3 changes: 2 additions & 1 deletion reference/map/multimap/size.md
Expand Up @@ -5,7 +5,8 @@
* function[meta id-type]

```cpp
size_type size() const noexcept;
size_type size() const; // C++03
size_type size() const noexcept; // C++11
```

## 概要
Expand Down
7 changes: 5 additions & 2 deletions reference/set/multiset/begin.md
Expand Up @@ -5,8 +5,11 @@
* function[meta id-type]

```cpp
iterator begin() noexcept;
const_iterator begin() const noexcept;
iterator begin(); // (1) C++03
iterator begin() noexcept; // (1) C++11

const_iterator begin() const; // (2) C++03
const_iterator begin() const noexcept; // (2) C++11
```


Expand Down
3 changes: 2 additions & 1 deletion reference/set/multiset/clear.md
Expand Up @@ -5,7 +5,8 @@
* function[meta id-type]

```cpp
void clear() noexcept;
void clear(); // C++03
void clear() noexcept; // C++11
```

## 概要
Expand Down
7 changes: 5 additions & 2 deletions reference/set/multiset/end.md
Expand Up @@ -5,8 +5,11 @@
* function[meta id-type]

```cpp
iterator end() noexcept;
const_iterator end() const noexcept;
iterator end(); // (1) C++03
iterator end() noexcept; // (1) C++11

const_iterator end() const; // (2) C++03
const_iterator end() const noexcept; // (2) C++11
```

## 概要
Expand Down
3 changes: 2 additions & 1 deletion reference/set/multiset/max_size.md
Expand Up @@ -5,7 +5,8 @@
* function[meta id-type]

```cpp
size_type max_size() const noexcept;
size_type max_size() const; // C++03
size_type max_size() const noexcept; // C++11
```

## 概要
Expand Down
7 changes: 5 additions & 2 deletions reference/set/multiset/rbegin.md
Expand Up @@ -5,8 +5,11 @@
* function[meta id-type]

```cpp
reverse_iterator rbegin() noexcept;
const_reverse_iterator rbegin() const noexcept;
reverse_iterator rbegin(); // (1) C++03
reverse_iterator rbegin() noexcept; // (1) C++11

const_reverse_iterator rbegin() const; // (2) C++03
const_reverse_iterator rbegin() const noexcept; // (2) C++11
```


Expand Down
7 changes: 5 additions & 2 deletions reference/set/multiset/rend.md
Expand Up @@ -5,8 +5,11 @@
* function[meta id-type]

```cpp
reverse_iterator rend() noexcept;
const_reverse_iterator rend() const noexcept;
reverse_iterator rend(); // (1) C++03
reverse_iterator rend() noexcept; // (1) C++11

const_reverse_iterator rend() const; // (2) C++03
const_reverse_iterator rend() const noexcept; // (2) C++11
```


Expand Down
3 changes: 2 additions & 1 deletion reference/set/multiset/size.md
Expand Up @@ -5,7 +5,8 @@
* function[meta id-type]

```cpp
size_type size() const noexcept;
size_type size() const; // C++03
size_type size() const noexcept; // C++11
```

## 概要
Expand Down
7 changes: 5 additions & 2 deletions reference/set/set/begin.md
Expand Up @@ -5,8 +5,11 @@
* function[meta id-type]

```cpp
iterator begin() noexcept;
const_iterator begin() const noexcept;
iterator begin(); // (1) C++03
iterator begin() noexcept; // (1) C++11

const_iterator begin() const; // (2) C++03
const_iterator begin() const noexcept; // (2) C++11
```


Expand Down
3 changes: 2 additions & 1 deletion reference/set/set/clear.md
Expand Up @@ -5,7 +5,8 @@
* function[meta id-type]

```cpp
void clear() noexcept;
void clear(); // C++03
void clear() noexcept; // C++11
```

## 概要
Expand Down
7 changes: 5 additions & 2 deletions reference/set/set/end.md
Expand Up @@ -5,8 +5,11 @@
* function[meta id-type]

```cpp
iterator end() noexcept;
const_iterator end() const noexcept;
iterator end(); // (1) C++03
iterator end() noexcept; // (1) C++11

const_iterator end() const; // (2) C++03
const_iterator end() const noexcept; // (2) C++11
```

## 概要
Expand Down
3 changes: 2 additions & 1 deletion reference/set/set/max_size.md
Expand Up @@ -5,7 +5,8 @@
* function[meta id-type]

```cpp
size_type max_size() const noexcept;
size_type max_size() const; // C++03
size_type max_size() const noexcept; // C++11
```

## 概要
Expand Down

0 comments on commit 46a08ba

Please sign in to comment.