From 46e174935b122c0da4b51532a7f683a512eeaf65 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Sun, 15 Feb 2015 14:07:50 +0100 Subject: Moved class-based implementations into `detail` namespace * while class templates enable e.g. hiding implementation details they also require evaluation via `Eval` ** this clutters up the actual logic and is now hidden behind aliae that perform the evaluation --- src/function/detail/apply.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/function/detail/apply.h') diff --git a/src/function/detail/apply.h b/src/function/detail/apply.h index da347f7..8d4ef6d 100644 --- a/src/function/detail/apply.h +++ b/src/function/detail/apply.h @@ -13,7 +13,7 @@ namespace detail { struct placeholder_tag { }; template -using is_placeholder = tav::Boolean< +using is_placeholder = Boolean< std::is_base_of::value >; @@ -33,13 +33,13 @@ template < int Index > struct resolve_placeholder> { - typedef Eval, Partials>> type; + typedef tav::Nth, Partials> type; }; template using count_placeholders = Count< is_placeholder, - Eval> + tav::List >; template < @@ -58,7 +58,7 @@ struct apply_variadic { template using function = Function< Eval>, + tav::List, Arguments >>... >; -- cgit v1.2.3