to_string/to_wstring examples
This commit is contained in:
parent
af754e2110
commit
03ec86bbb5
4
paper.md
4
paper.md
@ -147,8 +147,8 @@ Non-member functions `to_string()` and `to_wstring()` return a string with the U
|
||||
|
||||
```
|
||||
uuid id("47183823-2574-4bfd-b411-99ed177d3e43");
|
||||
assert(id.string() == "47183823-2574-4bfd-b411-99ed177d3e43");
|
||||
assert(id.wstring() == L"47183823-2574-4bfd-b411-99ed177d3e43");
|
||||
assert(to_string(id) == "47183823-2574-4bfd-b411-99ed177d3e43");
|
||||
assert(to_wstring(id) == L"47183823-2574-4bfd-b411-99ed177d3e43");
|
||||
```
|
||||
|
||||
### `operator==` and `operator!=`
|
||||
|
Loading…
Reference in New Issue
Block a user