From 3df8928878862fb1e4908be2c0862c947aa0edaf Mon Sep 17 00:00:00 2001 From: Edouard A Date: Tue, 8 Nov 2016 21:17:48 -0500 Subject: [PATCH] Remove trigraphs --- brigand/algorithms/all.hpp | 113 +- brigand/algorithms/count.hpp | 63 +- brigand/algorithms/find.hpp | 1 - brigand/algorithms/merge.hpp | 106 +- brigand/algorithms/none.hpp | 99 +- brigand/algorithms/remove.hpp | 136 +- brigand/algorithms/replace.hpp | 85 +- brigand/algorithms/sort.hpp | 287 ++-- standalone/brigand.hpp | 2424 +++++++++++++++++--------------- 9 files changed, 1763 insertions(+), 1551 deletions(-) diff --git a/brigand/algorithms/all.hpp b/brigand/algorithms/all.hpp index c010de5..f0cd842 100644 --- a/brigand/algorithms/all.hpp +++ b/brigand/algorithms/all.hpp @@ -7,71 +7,78 @@ Distributed under the Boost Software License, Version 1.0. #pragma once #include -#include #include -#include +#include #include +#include namespace brigand { #if defined(BRIGAND_COMP_MSVC_2013) || defined(BRIGAND_COMP_CUDA) || defined(BRIGAND_COMP_INTEL) - namespace detail - { - template struct bools_ {}; - template< typename Sequence, typename Predicate, typename... Ts> struct all_impl; +namespace detail +{ + template + struct bools_ + { + }; + template + struct all_impl; - template< template class Sequence, typename Predicate, typename... Ts> - struct all_impl, Predicate> - : std::is_same< bools_::value...> - , bools_<::brigand::apply::value..., true> - > - {}; - } + template