[skip ci] Update README

This commit is contained in:
ado 2023-08-06 12:52:40 +02:00
parent 6a3ba48a2c
commit 77a69fbd6d

View File

@ -187,7 +187,7 @@ auto vec = p.get_object<std::vector<std::string>, std::string, std::string>();
An iterator loop as in the first example which returns objects would look like: An iterator loop as in the first example which returns objects would look like:
```cpp ```cpp
for (const student& s : p.iterate_object<student, std::string, int, float>()) { for (const student& s : p.iterate_object<student, std::string, int, float>()) {
// ... // ...
} }
``` ```
And finally, using something I personally like to do, a struct (class) with a **`tied`** method which returns a tuple of references to to the members of the struct. And finally, using something I personally like to do, a struct (class) with a **`tied`** method which returns a tuple of references to to the members of the struct.