43 #include <type_traits>
49 template <
typename>
class Out;
65 template <
template <
typename>
class ContainerType,
typename T>
66 class Out<ContainerType<T>> {
73 Out<ContainerType<T>>(ContainerType<T>& c)
85 ContainerType<T>& _container;
93 template <
template <
typename>
class ContainerType,
typename T>
94 Out<ContainerType<T>>
out(ContainerType<T>& c)
96 return Out<ContainerType<T>>(c);
Out< ContainerType< T > > out(ContainerType< T > &c)
Helper function to create a Out wrapper object.
ContainerType< T > & container() const
Returns a reference to the the wrapped container.