• Dominik Charousset's avatar
    added actor_companion_mixin, refactored weak ptr · cc13bb2d
    Dominik Charousset authored
    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
    cc13bb2d
enable_weak_ptr_mixin.hpp 3.22 KB