| 477 | {} |
| 478 | |
| 479 | void perform_test () |
| 480 | { |
| 481 | test_type_erasure(); |
| 482 | dlog << LINFO << "test_storage_basic<storage_heap>()"; |
| 483 | test_storage_basic<storage_heap>(); |
| 484 | dlog << LINFO << "test_storage_basic<storage_sbo<20>>()"; |
| 485 | test_storage_basic<storage_sbo<20>>(); |
| 486 | dlog << LINFO << "test_storage_basic<storage_stack<20>>()"; |
| 487 | test_storage_basic<storage_stack<20>>(); |
| 488 | dlog << LINFO << "test_storage_basic<storage_shared>()"; |
| 489 | test_storage_basic<storage_shared>(); |
| 490 | dlog << LINFO << "test_storage_basic<storage_view>()"; |
| 491 | test_storage_basic<storage_view>(); |
| 492 | |
| 493 | test_function<dlib::any_function<int(int)>>(); |
| 494 | test_function_view(); |
| 495 | test_function_pointer<dlib::any_function_basic, storage_heap>(); |
| 496 | test_function_pointer<dlib::any_function_basic, storage_stack<32>>(); |
| 497 | test_function_pointer<dlib::any_function_basic, storage_sbo<32>>(); |
| 498 | test_function_pointer<dlib::any_function_basic, storage_shared>(); |
| 499 | test_member_pointer<dlib::any_function_basic, storage_heap>(); |
| 500 | test_member_pointer<dlib::any_function_basic, storage_stack<32>>(); |
| 501 | test_member_pointer<dlib::any_function_basic, storage_sbo<32>>(); |
| 502 | test_member_pointer<dlib::any_function_basic, storage_shared>(); |
| 503 | } |
| 504 | } a; |
| 505 | } |
nothing calls this directly
no test coverage detected