![]() |
Home | Libraries | People | FAQ | More |
The is_shallow_mutable_sequence class
is a traits class that may be used to determine whether a type is a range
whose copies refer to the same writable elements.
template< typename T> struct is_shallow_mutable_sequence : public integral_constant< bool, automatically_determined >
By default, the trait is true for a std::reference_wrapper
to a range, a range of std::reference_wrapper
elements, and a borrowed range such as std::span,
provided that the elements are writable. Owning containers such as std::vector
are not shallow mutable sequences.
A program may specialise this traits type if the T
template parameter in the specialisation is a user-defined type.
Header: boost/asio/is_shallow_mutable_sequence.hpp
Convenience header: boost/asio.hpp