Added a deprecation warning for as<char>() and set(char)

This commit is contained in:
Benoit Blanchon
2021-05-04 14:48:51 +02:00
parent ab23625091
commit 4780174ee1
3 changed files with 75 additions and 6 deletions

View File

@@ -43,6 +43,7 @@ HEAD
> int8_t age;
> doc["age"] = age; // OK
> ```
> A deprecation warning with the message "Support for `char` is deprecated, use `int8_t` or `uint8_t` instead" was added to allow a smooth transition.
>
> #### `as<T>()` always returns `T`
>