add SPROUT_FORWARD - workaround for ICC

This commit is contained in:
bolero-MURAKAMI 2014-02-22 16:32:51 +09:00
parent 7831105add
commit 274122efb2
202 changed files with 750 additions and 741 deletions

View file

@ -30,7 +30,7 @@ namespace sprout {
public:
template<typename... As>
explicit SPROUT_CONSTEXPR expr(As&&... args)
: args_(sprout::forward<As>(args)...)
: args_(SPROUT_FORWARD(As, args)...)
{}
SPROUT_CONSTEXPR args_type const& args() const {
return args_;