From 1e3c342482bf88fc085e3f5f14032abd907c285d Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Tue, 25 Feb 2020 16:15:21 +1100 Subject: [PATCH] functor: style --- functor.hpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/functor.hpp b/functor.hpp index 4900d604..91753ece 100644 --- a/functor.hpp +++ b/functor.hpp @@ -29,12 +29,12 @@ namespace cruft::functor { /// A trivial functor that wraps std::begin without any static typing. struct begin { - template + template decltype (auto) - operator() (valuet &&value) noexcept (noexcept (std::begin (value))) + operator() (ValueT &&value) noexcept (noexcept (std::begin (value))) { return std::begin ( - std::forward (value) + std::forward (value) ); } }; @@ -42,12 +42,12 @@ namespace cruft::functor { /// A trivial functor that wraps std::end without any static typing. struct end { - template + template decltype (auto) - operator() (valuet &&value) noexcept (noexcept (std::end (value))) + operator() (ValueT &&value) noexcept (noexcept (std::end (value))) { return std::end ( - std::forward (value) + std::forward (value) ); } };