mirror of
https://github.com/red0124/ssp.git
synced 2025-01-23 21:15:19 +01:00
fix typo
This commit is contained in:
parent
8a947c3971
commit
29a21c3bca
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user