| 619 | // a COMPILER ERROR (not silent skipping). |
| 620 | template<typename Container> |
| 621 | void test_sequential_container_front_back() { |
| 622 | Container c; |
| 623 | populate(c, make_shared_int(1)); |
| 624 | populate(c, make_shared_int(2)); |
| 625 | populate(c, make_shared_int(3)); |
| 626 | |
| 627 | // Test front and back - COMPILER ERROR if these methods don't exist |
| 628 | FL_CHECK(*c.front() == 1); |
| 629 | FL_CHECK(*c.back() == 3); |
| 630 | } |
| 631 | |
| 632 | // Test resize for sequential containers |
| 633 | // NOTE: No enable_if - if a container doesn't have resize, you get |
nothing calls this directly
no test coverage detected