This commit is contained in:
ado 2021-01-04 23:11:27 +01:00
parent 8a947c3971
commit 29a21c3bca

View File

@ -105,7 +105,7 @@ This works with any object if the constructor could be invoked using the templat
auto vec = p.get_object<std::vector<std::string>, std::string, std::string, auto vec = p.get_object<std::vector<std::string>, std::string, std::string,
std::string>(); std::string>();
``` ```
And finally, using something I personally like to do, a struct (class) with a **tied** method witch 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.
```cpp ```cpp
struct student { struct student {
std::string name; std::string name;