コード例 #1
0
ファイル: behavior.hpp プロジェクト: lihongjun/libcppa
typename util::if_else<
            util::disjunction<
                is_timeout_definition<Arg0>,
                is_timeout_definition<Args>...>,
            behavior,
            util::wrapped<partial_function> >::type
match_expr_convert(const Arg0& arg0, const Args&... args) {
    return {match_expr_concat(arg0, args...)};
}
コード例 #2
0
 void set_message_handler(Args&&... matchExpressions) {
     m_message_handler = match_expr_concat(std::forward<Args>(matchExpressions)...);
 }
コード例 #3
0
ファイル: behavior.hpp プロジェクト: lihongjun/libcppa
 behavior(const match_expr<Cases...>& arg0, const Arg1& arg1, const Args&... args)
 : super(match_expr_concat(arg0, arg1, args...)) { }
コード例 #4
0
ファイル: match_expr.hpp プロジェクト: ariosx/actor-framework
behavior_impl_ptr match_expr_concat(const T0& arg0, const T1& arg1,
                                    const Ts&... args) {
  return match_expr_concat(combine(combine_fwd(arg0, arg1),
                                   combine_fwd(arg1, arg0)),
                           args...);
}