--- lib/core/include/ContainerChain.h.orig 2024-09-24 09:32:47 UTC +++ lib/core/include/ContainerChain.h @@ -1128,15 +1128,15 @@ class modified_container_tuple_impl (public) Int size() const { - return this->manip_top().template get_container(size_constant()).size(); + return this->manip_top().get_container(size_constant()).size(); } Int dim() const { - return get_dim(this->manip_top().template get_container(size_constant())); + return get_dim(this->manip_top().get_container(size_constant())); } bool empty() const { - return this->manip_top().template get_container(size_constant()).empty(); + return this->manip_top().get_container(size_constant()).empty(); } decltype(auto) front() @@ -1153,40 +1153,40 @@ class modified_container_tuple_impl (public) iterator make_begin(std::index_sequence, mlist) { return iterator(this->manip_top().get_operation(), - ensure(this->manip_top().template get_container(size_constant()), muntag_t()).begin()...); + ensure(this->manip_top().get_container(size_constant()), muntag_t()).begin()...); } template iterator make_end(std::index_sequence, mlist) { return iterator(this->manip_top().get_operation(), - ensure(this->manip_top().template get_container(size_constant()), muntag_t()).end()...); + ensure(this->manip_top().get_container(size_constant()), muntag_t()).end()...); } template const_iterator make_begin(std::index_sequence, mlist) const { return const_iterator(this->manip_top().get_operation(), - ensure(this->manip_top().template get_container(size_constant()), muntag_t()).begin()...); + ensure(this->manip_top().get_container(size_constant()), muntag_t()).begin()...); } template const_iterator make_end(std::index_sequence, mlist) const { return const_iterator(this->manip_top().get_operation(), - ensure(this->manip_top().template get_container(size_constant()), muntag_t()).end()...); + ensure(this->manip_top().get_container(size_constant()), muntag_t()).end()...); } template decltype(auto) make_front(std::index_sequence) { - return this->manip_top().get_operation()( this->manip_top().template get_container(size_constant()).front()... ); + return this->manip_top().get_operation()( this->manip_top().get_container(size_constant()).front()... ); } template decltype(auto) make_front(std::index_sequence) const { - return this->manip_top().get_operation()( this->manip_top().template get_container(size_constant()).front()... ); + return this->manip_top().get_operation()( this->manip_top().get_container(size_constant()).front()... ); } }; @@ -1230,40 +1230,40 @@ class modified_container_tuple_impl, mlist) { return reverse_iterator(this->manip_top().get_operation(), - ensure(this->manip_top().template get_container(size_constant()), muntag_t()).rbegin()...); + ensure(this->manip_top().get_container(size_constant()), muntag_t()).rbegin()...); } template reverse_iterator make_rend(std::index_sequence, mlist) { return reverse_iterator(this->manip_top().get_operation(), - ensure(this->manip_top().template get_container(size_constant()), muntag_t()).rend()...); + ensure(this->manip_top().get_container(size_constant()), muntag_t()).rend()...); } template const_reverse_iterator make_rbegin(std::index_sequence, mlist) const { return const_reverse_iterator(this->manip_top().get_operation(), - ensure(this->manip_top().template get_container(size_constant()), muntag_t()).rbegin()...); + ensure(this->manip_top().get_container(size_constant()), muntag_t()).rbegin()...); } template const_reverse_iterator make_rend(std::index_sequence, mlist) const { return const_reverse_iterator(this->manip_top().get_operation(), - ensure(this->manip_top().template get_container(size_constant()), muntag_t()).rend()...); + ensure(this->manip_top().get_container(size_constant()), muntag_t()).rend()...); } template decltype(auto) make_back(std::index_sequence) { - return this->manip_top().get_operation()( this->manip_top().template get_container(size_constant()).back()... ); + return this->manip_top().get_operation()( this->manip_top().get_container(size_constant()).back()... ); } template decltype(auto) make_back(std::index_sequence) const { - return this->manip_top().get_operation()( this->manip_top().template get_container(size_constant()).back()... ); + return this->manip_top().get_operation()( this->manip_top().get_container(size_constant()).back()... ); } }; @@ -1285,13 +1285,13 @@ class modified_container_tuple_impl decltype(auto) make_random(Int i, std::index_sequence) { - return this->manip_top().get_operation()( this->manip_top().template get_container(size_constant())[i]... ); + return this->manip_top().get_operation()( this->manip_top().get_container(size_constant())[i]... ); } template decltype(auto) make_random(Int i, std::index_sequence) const { - return this->manip_top().get_operation()( this->manip_top().template get_container(size_constant())[i]... ); + return this->manip_top().get_operation()( this->manip_top().get_container(size_constant())[i]... ); } };