| 32 | template<typename... Ts> |
| 33 | requires (!constraint::variadic_decayed_same_as<shared_container<Container>, Ts...>) |
| 34 | explicit shared_container(Ts&&... items) |
| 35 | // raw "new" call to avoid extra copy/moves for items |
| 36 | : m_container{new Container{std::forward<Ts>(items)...}} |
| 37 | { |
| 38 | } |
| 39 | |
| 40 | shared_container(const shared_container&) = default; |
| 41 | shared_container(shared_container&&) noexcept = default; |
nothing calls this directly
no outgoing calls
no test coverage detected