diff options
author | Adrian Kummerlaender | 2015-03-07 16:14:11 +0100 |
---|---|---|
committer | Adrian Kummerlaender | 2015-03-07 16:14:11 +0100 |
commit | cb2a79cd818fbfa50e7bdebd090e681a0073f9d5 (patch) | |
tree | 70c5a90977ae0772618be00dfb499eb5ee4cf63f /src/function/apply.h | |
parent | 299781bccc5c7d1b212198b5a9a55ee9447603c5 (diff) | |
download | TypeAsValue-cb2a79cd818fbfa50e7bdebd090e681a0073f9d5.tar TypeAsValue-cb2a79cd818fbfa50e7bdebd090e681a0073f9d5.tar.gz TypeAsValue-cb2a79cd818fbfa50e7bdebd090e681a0073f9d5.tar.bz2 TypeAsValue-cb2a79cd818fbfa50e7bdebd090e681a0073f9d5.tar.lz TypeAsValue-cb2a79cd818fbfa50e7bdebd090e681a0073f9d5.tar.xz TypeAsValue-cb2a79cd818fbfa50e7bdebd090e681a0073f9d5.tar.zst TypeAsValue-cb2a79cd818fbfa50e7bdebd090e681a0073f9d5.zip |
Changed `tav::Apply` implementation selection to template alias
* there is no reason to differ from the rest of the library and use inheritance in this instance
* added link to blog article on the _Scheme metaphor_ to `README.md`
Diffstat (limited to 'src/function/apply.h')
-rw-r--r-- | src/function/apply.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/function/apply.h b/src/function/apply.h index 553ae7f..402b654 100644 --- a/src/function/apply.h +++ b/src/function/apply.h @@ -17,7 +17,7 @@ template < template<typename...> class Function, typename... Arguments > -struct Apply : Cond< +using Apply = Cond< Branch< GreaterThan<detail::count_placeholders<Arguments...>, Size<2>>, detail::apply_variadic<Function, Arguments...> @@ -33,7 +33,7 @@ struct Apply : Cond< Else< detail::apply_none<Function, Arguments...> > -> { }; +>; } |