File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -216,7 +216,7 @@ template <typename F,
216216struct invoker {
217217 // add an argument to a Fusion cons-list for each parameter type
218218 template <typename Args, typename ArgStream>
219- static inline auto apply (F func, ArgStream& astream,
219+ static inline decltype ( auto ) apply(F func, ArgStream& astream,
220220 Args const & args) {
221221 typedef typename remove_cv_ref<typename boost::mpl::deref<From>::type>::type arg_type;
222222 typedef typename boost::mpl::next<From>::type next_iter_type;
@@ -230,7 +230,7 @@ struct invoker {
230230template <typename F, class To >
231231struct invoker <F, To, To> {
232232 template <typename Args, typename ArgStream>
233- static inline auto apply (F func, ArgStream&, Args const & args) {
233+ static inline decltype ( auto ) apply(F func, ArgStream&, Args const & args) {
234234 return boost::fusion::invoke (func, args);
235235 }
236236};
You can’t perform that action at this time.
0 commit comments