Skip to content
This repository was archived by the owner on Sep 9, 2021. It is now read-only.

Commit b96b519

Browse files
committed
Update the tutorial
1 parent ce2df44 commit b96b519

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ $ ./draw_text
5555

5656
## Tutorial
5757
Begin with a simple greeting function.
58+
59+
greet_v0.cpp
5860
```cpp
5961
#include <iostream>
6062
#include <string_view>
@@ -68,6 +70,8 @@ int main() {
6870
}
6971
```
7072
Make this function accept keyword arguments using cpp-flexargs.
73+
74+
greet_v1.cpp
7175
```cpp
7276
#include <iostream>
7377
#include <utility>
@@ -96,6 +100,8 @@ int main() {
96100
}
97101
```
98102
You can declare typed parameters and keyword-only parameters.
103+
104+
greet_v2.cpp
99105
```cpp
100106
#include <iostream>
101107
#include <string_view>

0 commit comments

Comments
 (0)