Section: 26.6 [container.adaptors] Status: Resolved Submitter: United States Opened: 2017-02-03 Last modified: 2017-03-20
Priority: Not Prioritized
View all other issues in [container.adaptors].
View all issues with Resolved status.
Discussion:Addresses US 150
The three container adapters should each have a deduction guide allowing the deduction of the value type T from the supplied container, potentially constrained to avoid confusion with deduction from a copy/move constructor.
Proposed change: For each container adapter, add a deduction guide of the form
template <class Container> adapter(const Container&) -> adapter<typename Container::value_type, Container>;
Resolved by P0433R2.