From 8b392bbe6cdef5970492d43a5313c661b7c5dc42 Mon Sep 17 00:00:00 2001
From: Jan Travnicek <Jan.Travnicek@fit.cvut.cz>
Date: Thu, 22 Jun 2017 22:28:04 +0200
Subject: [PATCH] fix template template param deduction in gcc7.1

---
 alib2std/src/extensions/algorithm.hpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/alib2std/src/extensions/algorithm.hpp b/alib2std/src/extensions/algorithm.hpp
index 839a8068c0..87faaff269 100644
--- a/alib2std/src/extensions/algorithm.hpp
+++ b/alib2std/src/extensions/algorithm.hpp
@@ -32,8 +32,8 @@ bool excludes(InputIt1 first1, InputIt1 last1, InputIt2 first2, InputIt2 last2)
 	return excludes(first1, last1, first2, last2, std::less<decltype(*first1)>());
 }
 
-template<class ResType, class InType, template < typename ... > class ContainerType, class Callback >
-ContainerType<ResType> transform(const ContainerType<InType> & in, Callback transform) {
+template < class ResType, class InType, typename ... Ts, template < typename ... > class ContainerType, class Callback >
+ContainerType < ResType > transform(const ContainerType < InType, Ts ... > & in, Callback transform ) {
 	ContainerType<ResType> res;
 	std::transform ( in.begin ( ), in.end ( ), std::inserter ( res, res.begin ( ) ), transform );
 	return res;
-- 
GitLab