summaryrefslogtreecommitdiff
path: root/boost/container/list.hpp
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2019-12-05 15:18:43 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2019-12-05 15:18:43 +0900
commit5ce2ccf2f23c6d3de4c79f216f57ca6f2a18ed16 (patch)
treebbee48efb9867d19ac3fdd84ba714c7af326cd53 /boost/container/list.hpp
parentb8cf34c691623e4ec329053cbbf68522a855882d (diff)
downloadboost-5ce2ccf2f23c6d3de4c79f216f57ca6f2a18ed16.tar.gz
boost-5ce2ccf2f23c6d3de4c79f216f57ca6f2a18ed16.tar.bz2
boost-5ce2ccf2f23c6d3de4c79f216f57ca6f2a18ed16.zip
Imported Upstream version 1.68.0upstream/1.68.0
Diffstat (limited to 'boost/container/list.hpp')
-rw-r--r--boost/container/list.hpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/boost/container/list.hpp b/boost/container/list.hpp
index c74372f858..68892bc2bb 100644
--- a/boost/container/list.hpp
+++ b/boost/container/list.hpp
@@ -1464,6 +1464,16 @@ class list
};
+#if __cplusplus >= 201703L
+template <typename InputIterator>
+list(InputIterator, InputIterator) ->
+ list<typename iterator_traits<InputIterator>::value_type>;
+
+template <typename InputIterator, typename Allocator>
+list(InputIterator, InputIterator, Allocator const&) ->
+ list<typename iterator_traits<InputIterator>::value_type, Allocator>;
+#endif
+
#ifndef BOOST_CONTAINER_DOXYGEN_INVOKED
} //namespace container {