Adding Constructor Template Auto Deduction guides.

This commit is contained in:
Richard Powell
2018-05-10 11:25:39 -06:00
parent b3eee90a81
commit 72195ae288
20 changed files with 455 additions and 0 deletions

View File

@@ -1632,6 +1632,13 @@ class slist
#endif //#ifndef BOOST_CONTAINER_DOXYGEN_INVOKED
};
#if __cplusplus >= 201703L
template <typename InpIt>
slist(InpIt, InpIt) -> slist<typename std::iterator_traits<InpIt>::value_type>;
template <typename InpIt, typename Allocator>
slist(InpIt, InpIt, Allocator const&) -> slist<typename std::iterator_traits<InpIt>::value_type, Allocator>;
#endif
}}
#ifndef BOOST_CONTAINER_DOXYGEN_INVOKED