| 7 | #include <ArduinoJson/Variant/JsonVariant.hpp> |
| 8 | |
| 9 | ARDUINOJSON_BEGIN_PUBLIC_NAMESPACE |
| 10 | |
| 11 | template <typename T> |
| 12 | class Ptr { |
| 13 | public: |
| 14 | Ptr(T value) : value_(value) {} |
| 15 | |
| 16 | T* operator->() { |
| 17 | return &value_; |
| 18 | } |
| 19 | |
| 20 | T& operator*() { |
| 21 | return value_; |
nothing calls this directly
no outgoing calls
no test coverage detected