From b8bb3b308f781378cd97c7045a43dde1b744bc37 Mon Sep 17 00:00:00 2001 From: Gammasoft Date: Sat, 18 Jan 2025 23:03:12 +0100 Subject: [PATCH] Add c++17 deduction guides --- src/xtd.core/include/xtd/collections/generic/dictionary.hpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/xtd.core/include/xtd/collections/generic/dictionary.hpp b/src/xtd.core/include/xtd/collections/generic/dictionary.hpp index 9fc260a3662..8f26f15a975 100644 --- a/src/xtd.core/include/xtd/collections/generic/dictionary.hpp +++ b/src/xtd.core/include/xtd/collections/generic/dictionary.hpp @@ -1584,6 +1584,12 @@ namespace xtd { /// @cond // C++17 deduction guides for xtd::collections::generic::dictionary // { + template + dictionary(idictionary) -> dictionary, helpers::equator, helpers::allocator>>; + + template + dictionary(ienumerable>) -> dictionary, helpers::equator, helpers::allocator>>; + template, class equator_t = helpers::equator, class allocator_t = helpers::allocator>> dictionary(std::initializer_list>, xtd::size = 0, hasher_t = hasher_t {}, equator_t = equator_t {}, allocator_t = allocator_t {}) -> dictionary;