Functor which returns it's shared count
| 35 | |
| 36 | /// Functor which returns it's shared count |
| 37 | class SharedCountFunctor { |
| 38 | std::shared_ptr<std::size_t> state = std::make_shared<std::size_t>(0); |
| 39 | |
| 40 | public: |
| 41 | std::size_t operator()() const { |
| 42 | return state.use_count(); |
| 43 | } |
| 44 | }; |
| 45 | } // namespace |
| 46 | |
| 47 | ALL_LEFT_RIGHT_TYPED_TEST_CASE(AllMoveAssignConstructTests) |
nothing calls this directly
no outgoing calls
no test coverage detected