From 325ac9a5b2a1547129b213a72cf311c8e0085e9a Mon Sep 17 00:00:00 2001 From: Christos Choutouridis Date: Sun, 27 Sep 2020 20:26:48 +0300 Subject: [PATCH] FIX: C++17 is_swappable import from stl --- include/utl/concepts/stl.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/utl/concepts/stl.h b/include/utl/concepts/stl.h index 8cc7cf5..edde000 100644 --- a/include/utl/concepts/stl.h +++ b/include/utl/concepts/stl.h @@ -404,8 +404,10 @@ namespace utl { using type = decltype(check<_Tp, _Up>(0)); }; #else - using is_swappable = std::is_swappable; - using is_swappable_with = std::is_swappable_with; + template + using is_swappable = std::is_swappable; + template + using is_swappable_with = std::is_swappable_with; #endif // != std:: on CommonReference