This commit is contained in:
7
deps/ox/ox-docs.md
vendored
7
deps/ox/ox-docs.md
vendored
@@ -323,9 +323,10 @@ struct Type {
|
||||
|
||||
void f() {
|
||||
ox::String s{"asdf"};
|
||||
Type t1{"asdf"}; // valid
|
||||
Type t2{s}; // valid
|
||||
Type t3{std::move(s)}; // valid
|
||||
Type t1{"asdf"}; // valid
|
||||
Type t2{s}; // valid
|
||||
Type t3{std::move(s)}; // valid
|
||||
Type t4{ox::String{"asdf"}}; // valid
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user