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

Function check_array

test/test.hpp:1127–1139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1125
1126template<class... Argn>
1127static
1128void
1129check_array(
1130 value const& jv,
1131 Argn const&... argn)
1132{
1133 if(! BOOST_TEST(jv.is_array()))
1134 return;
1135 if(! BOOST_TEST(sizeof...(argn) ==
1136 jv.get_array().size()))
1137 return;
1138 detail::check_array_impl(0, jv, argn...);
1139}
1140
1141//----------------------------------------------------------
1142

Callers 1

testInitListMethod · 0.85

Calls 3

check_array_implFunction · 0.85
is_arrayMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected