cleanup, docs
This commit is contained in:
@@ -20,9 +20,6 @@ return value : none
|
||||
:content
|
||||
Assignment overloads forward to the matching `set(...)` overloads. They are the normal concise way to write string, number, pointer, `DValue`, and `StringMap` values. Boolean values should use `set_bool()` to avoid overload ambiguity.
|
||||
|
||||
```cpp
|
||||
DValue value;
|
||||
value = "ok";
|
||||
value = 42.0;
|
||||
context.call["user"] = StringMap{{"name", "Ada"}};
|
||||
```
|
||||
|
||||
:example
|
||||
print("DValue::assign example\n");
|
||||
|
||||
Reference in New Issue
Block a user