MCPcopy Create free account
hub / github.com/Thalhammer/jwt-cpp / is_valid_json_integer

Class is_valid_json_integer

include/jwt-cpp/jwt.h:2546–2550  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2544
2545 template<typename value_type, typename integer_type>
2546 struct is_valid_json_integer {
2547 static constexpr auto value = std::is_signed<integer_type>::value &&
2548 !std::is_floating_point<integer_type>::value &&
2549 std::is_constructible<value_type, integer_type>::value;
2550 };
2551 template<typename value_type, typename boolean_type>
2552 struct is_valid_json_boolean {
2553 static constexpr auto value = std::is_convertible<boolean_type, bool>::value &&

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected