Esempio n. 1
0
inline void send_as(actor_ptr from, channel_ptr whom, Ts&&... what) {
    send_tuple_as(std::move(from), std::move(whom),
                  make_any_tuple(std::forward<Ts>(what)...));
}
Esempio n. 2
0
inline typename std::enable_if<std::is_base_of<channel, C>::value>::type
send_as(const actor_ptr& from, const intrusive_ptr<C>& whom, Args&&... what) {
    send_tuple_as(from, whom, make_any_tuple(std::forward<Args>(what)...));
}