From 1a9faa67449986d095124b145d53d11ffa0f027c Mon Sep 17 00:00:00 2001 From: denzor200 Date: Sun, 16 Jan 2022 09:49:05 +0400 Subject: [PATCH] Diff simplified && update copyrights --- .../view/reverse_view/detail/deref_data_impl.hpp | 10 +++++----- .../fusion/view/reverse_view/detail/key_of_impl.hpp | 2 +- .../view/reverse_view/detail/value_of_data_impl.hpp | 6 +++--- test/sequence/reverse_view.cpp | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/include/boost/fusion/view/reverse_view/detail/deref_data_impl.hpp b/include/boost/fusion/view/reverse_view/detail/deref_data_impl.hpp index e9bb9a02..db64d32b 100644 --- a/include/boost/fusion/view/reverse_view/detail/deref_data_impl.hpp +++ b/include/boost/fusion/view/reverse_view/detail/deref_data_impl.hpp @@ -1,6 +1,6 @@ /*============================================================================= Copyright (c) 2009 Christopher Schmidt - Copyright (c) 2021 Denis Mikhailov + Copyright (c) 2021-2022 Denis Mikhailov Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) @@ -21,22 +21,22 @@ namespace boost { namespace fusion { namespace extension template <> struct deref_data_impl { - template + template struct apply { typedef typename result_of::deref_data< typename result_of::prior< - typename Iterator::first_type + typename It::first_type >::type >::type type; BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED static type - call(Iterator const& i) + call(It const& it) { - return fusion::deref_data(fusion::prior(i.first)); + return fusion::deref_data(fusion::prior(it.first)); } }; }; diff --git a/include/boost/fusion/view/reverse_view/detail/key_of_impl.hpp b/include/boost/fusion/view/reverse_view/detail/key_of_impl.hpp index a2d8daef..0b8fc3bc 100644 --- a/include/boost/fusion/view/reverse_view/detail/key_of_impl.hpp +++ b/include/boost/fusion/view/reverse_view/detail/key_of_impl.hpp @@ -1,6 +1,6 @@ /*============================================================================= Copyright (c) 2009 Christopher Schmidt - Copyright (c) 2021 Denis Mikhailov + Copyright (c) 2021-2022 Denis Mikhailov Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) diff --git a/include/boost/fusion/view/reverse_view/detail/value_of_data_impl.hpp b/include/boost/fusion/view/reverse_view/detail/value_of_data_impl.hpp index c657f9e0..03cb753f 100644 --- a/include/boost/fusion/view/reverse_view/detail/value_of_data_impl.hpp +++ b/include/boost/fusion/view/reverse_view/detail/value_of_data_impl.hpp @@ -1,6 +1,6 @@ /*============================================================================= Copyright (c) 2009 Christopher Schmidt - Copyright (c) 2021 Denis Mikhailov + Copyright (c) 2021-2022 Denis Mikhailov Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) @@ -21,13 +21,13 @@ namespace boost { namespace fusion { namespace extension template <> struct value_of_data_impl { - template + template struct apply { typedef typename result_of::value_of_data< typename result_of::prior< - typename Iterator::first_type + typename It::first_type >::type >::type type; diff --git a/test/sequence/reverse_view.cpp b/test/sequence/reverse_view.cpp index b6afac99..aded1522 100644 --- a/test/sequence/reverse_view.cpp +++ b/test/sequence/reverse_view.cpp @@ -1,6 +1,6 @@ /*============================================================================= Copyright (c) 2001-2011 Joel de Guzman - Copyright (c) 2021 Denis Mikhailov + Copyright (c) 2021-2022 Denis Mikhailov Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)