• Dominik Charousset's avatar
    Implement non-null guarantee for handles · c57e7e92
    Dominik Charousset authored
    CAF now assumes handle types (actor_addr, actor, typed_actor<...>) to be
    non-null. Actors can break this assumption by constructing handles with
    `unsafe_actor_handle_init`, but any attempt to use such a handle causes
    undefined behavior. This gives handles reference-like semantics, as opposed to
    pointer-like semantics. Relates #461.
    c57e7e92
distributed_calculator.cpp 9.45 KB