From 7089b6803055791a60b1d2f80e0490154bc64e5c Mon Sep 17 00:00:00 2001 From: worktycho Date: Sat, 21 Mar 2015 19:45:01 +0000 Subject: Style fixes --- src/Generating/IntGen.h | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/src/Generating/IntGen.h b/src/Generating/IntGen.h index 113c2de15..854563f41 100644 --- a/src/Generating/IntGen.h +++ b/src/Generating/IntGen.h @@ -72,20 +72,20 @@ public: // Code adapted from http://stackoverflow.com/questions/7858817/unpacking-a-tuple-to-call-a-matching-function-pointer -template -struct seq +template +struct sSeq { }; -template -struct gens : gens +template +struct sGens : sGens { }; -template -struct gens<0, S...> +template +struct sGens<0, S...> { - typedef seq type; + typedef sSeq type; }; @@ -103,9 +103,9 @@ public: } template - std::shared_ptr construct(LhsGen&& lhs) + std::shared_ptr construct(LhsGen&& a_Lhs) { - return construct_impl(std::forward(lhs), typename gens::type()); + return construct_impl(std::forward(a_Lhs), typename sGens::type()); } @@ -113,23 +113,23 @@ private: std::tuple m_args; template - std::shared_ptr construct_impl(LhsGen&& lhs, seq) + std::shared_ptr construct_impl(LhsGen&& a_Lhs, sSeq) { - return std::make_shared(std::get(m_args)..., std::forward(lhs)); + return std::make_shared(std::get(m_args)..., std::forward(a_Lhs)); } }; template -std::shared_ptr operator| (std::shared_ptr lhs, cIntGenFactory rhs) +std::shared_ptr operator| (std::shared_ptr a_Lhs, cIntGenFactory a_Rhs) { - return rhs.construct(static_cast>(lhs)); + return a_Rhs.construct(static_cast>(a_Lhs)); } template -cIntGenFactory MakeIntGen(Args&&... args) +cIntGenFactory MakeIntGen(Args&&... a_Args) { - return cIntGenFactory(std::forward(args)...); + return cIntGenFactory(std::forward(a_Args)...); } -- cgit v1.2.3