mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2025-07-04 14:14:09 +00:00
add SPROUT_FORWARD - workaround for ICC
This commit is contained in:
parent
7831105add
commit
274122efb2
202 changed files with 750 additions and 741 deletions
|
@ -25,7 +25,7 @@ namespace sprout {
|
|||
typedef sprout::detail::make_construct_impl<
|
||||
sprout::basic_string<typename std::decay<T>::type, 1 + sizeof...(Types)>
|
||||
> impl_type;
|
||||
return impl_type::make(sprout::forward<T>(t), sprout::forward<Types>(args)...);
|
||||
return impl_type::make(SPROUT_FORWARD(T, t), SPROUT_FORWARD(Types, args)...);
|
||||
}
|
||||
|
||||
//
|
||||
|
@ -42,7 +42,7 @@ namespace sprout {
|
|||
typedef sprout::detail::make_construct_impl<
|
||||
sprout::basic_string<typename std::decay<T>::type, sizeof...(Types)>
|
||||
> impl_type;
|
||||
return impl_type::make(sprout::forward<Types>(args)...);
|
||||
return impl_type::make(SPROUT_FORWARD(Types, args)...);
|
||||
}
|
||||
} // namespace sprout
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue