| 292 | //---------------------------------------------------------- |
| 293 | |
| 294 | static void set4() { |
| 295 | using namespace my_app; |
| 296 | |
| 297 | //---------------------------------------------------------- |
| 298 | { |
| 299 | // tag::doc_quick_look_20[] |
| 300 | json::value jv; |
| 301 | //... |
| 302 | customer c( value_to<customer>(jv) ); |
| 303 | // end::doc_quick_look_20[] |
| 304 | } |
| 305 | //---------------------------------------------------------- |
| 306 | { |
| 307 | json::value jv; |
| 308 | // tag::doc_quick_look_21[] |
| 309 | std::vector< customer > vc = value_to< std::vector< customer > >( jv ); |
| 310 | // end::doc_quick_look_21[] |
| 311 | } |
| 312 | //---------------------------------------------------------- |
| 313 | |
| 314 | //---------------------------------------------------------- |
| 315 | |
| 316 | } // set4 |
| 317 | |
| 318 | class doc_quick_look_test |
| 319 | { |
nothing calls this directly
no outgoing calls
no test coverage detected