MCPcopy Create free account
hub / github.com/danielaparker/jsoncons / try_as

Function try_as

include/jsoncons/basic_json.hpp:3547–3551  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3545
3546 template <typename T>
3547 typename std::enable_if<reflect::is_json_conv_traits_specialized<basic_json,T>::value,conversion_result<T>>::type
3548 try_as() const
3549 {
3550 return reflect::json_conv_traits<basic_json,T>::try_as(make_alloc_set(), *this);
3551 }
3552
3553 bool is_null() const noexcept
3554 {

Callers 5

asFunction · 0.85
try_asMethod · 0.85
try_asMethod · 0.85

Calls 1

make_alloc_setFunction · 0.85

Tested by

no test coverage detected