MCPcopy Create free account
hub / github.com/boostorg/json / to_number

Method to_number

include/boost/json/value.hpp:1692–1703  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1690 T
1691#else
1692 typename std::enable_if<
1693 std::is_arithmetic<T>::value &&
1694 ! std::is_same<T, bool>::value,
1695 T>::type
1696#endif
1697 to_number(system::error_code& ec) const noexcept
1698 {
1699 error e;
1700 auto result = to_number<T>(e);
1701 BOOST_JSON_FAIL(ec, e);
1702 return result;
1703 }
1704
1705 template<class T>
1706#ifdef BOOST_JSON_DOCS

Callers

nothing calls this directly

Calls 1

valueMethod · 0.80

Tested by

no test coverage detected