MCPcopy Create free account
hub / github.com/AlexInLog/ReactivePlusPlus / shared_container

Method shared_container

src/rpp/rpp/sources/from.hpp:34–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected