added actor_companion_mixin, refactored weak ptr
actor_companion_mixin is meant to give non-actor classes the possibility to send and receive regular cppa messages without too much glue code (implement one virtual member function and call set_message_handler rather than using receive or become); weak_ptr_anchor is a regular class now, get() is a template member function casting the pointer to the correct derived type using static_cast
Showing
cppa/weak_ptr_anchor.hpp
0 → 100644
src/weak_ptr_anchor.cpp
0 → 100644
Please register or sign in to comment