|
1 | 1 | # DC4C - *D*ata *C*ontainers *for C*
|
2 |
| -This project aims to add some standard data containers to the C programming language. All of them are compatible |
3 |
| -with the C++ programming language and allow a seamless interaction between the two programming languages. |
| 2 | +This project aims to add some standard data containers to the C programming language. All of them are compatible with |
| 3 | +the C++ programming language and allow a seamless interaction between the two programming languages. |
4 | 4 |
|
5 | 5 | ## Vector
|
6 |
| -The implementation of the vector has been inspired by the standard vector of the C++ programming language ([`std::vector`][2]). |
| 6 | +The implementation of the vector has been inspired by the standard vector of the C++ programming language |
| 7 | +([`std::vector`][2]). |
7 | 8 |
|
8 | 9 | ### C usage
|
9 | 10 | To use it, simply include its header [`vector.h`][3] and use the macros defined within.
|
@@ -46,8 +47,9 @@ int main(void) {
|
46 | 47 | ```
|
47 | 48 |
|
48 | 49 | #### Standard conformance
|
49 |
| -The C implementation conforms to the C99 standard except for the usage of expression statements, [which are a GNU extension][5] |
50 |
| -and the usage of the `typeof` operator, which is part of the C23 standard or available as [GNU extension][6]. |
| 50 | +The C implementation conforms to the C99 standard except for the usage of expression statements, [which are a GNU |
| 51 | +extension][5] and the usage of the `typeof` operator, which is part of the C23 standard or available as [GNU |
| 52 | +extension][6]. |
51 | 53 |
|
52 | 54 | ### C++ usage
|
53 | 55 | If used within C++ code, the [wrapper class][4] is automatically available.
|
@@ -96,7 +98,8 @@ int main() {
|
96 | 98 | The C++ wrapper class conforms to the C++11 standard.
|
97 | 99 |
|
98 | 100 | ## Pair
|
99 |
| -The implementation of the pair has been inspired by the standard pair of the C++ programming language ([`std::pair`][7]). |
| 101 | +The implementation of the pair has been inspired by the standard pair of the C++ programming language |
| 102 | +([`std::pair`][7]). |
100 | 103 |
|
101 | 104 | ### C usage
|
102 | 105 | To use it, simply include its header [`pair.h`][8] and use the functions created by the macros defined within.
|
@@ -153,7 +156,8 @@ int main() {
|
153 | 156 | The C++ interoperability adheres to the C++98 standard.
|
154 | 157 |
|
155 | 158 | ## Optional
|
156 |
| -The implementation of the optional has been inspired by the standard optional of the C++ programming language ([`std::optional`][9]). |
| 159 | +The implementation of the optional has been inspired by the standard optional of the C++ programming language |
| 160 | +([`std::optional`][9]). |
157 | 161 |
|
158 | 162 | ### C usage
|
159 | 163 | To use it, simply include its header [`optional.h`][10] and use the functions created by the macros defined within.
|
|
0 commit comments