• Dominik Charousset's avatar
    Deprecate `last_dequeued` and `last_sender` · fd9a200d
    Dominik Charousset authored
    After the most recent changes for optimizing forwarding and reducing memory
    allocation (d72c0ec8), those two member
    function now have a slightly different behavior than before. This change in
    semantics is reflected by renaming `last_dequeued` to `current_message` and
    `last_sender` to `current_sender`. The main change in semantics is that the new
    functions have a longer a "nop" effect when called outside callbacks or after
    forwarding a message. Instead, these function now cause undefined behavior,
    i.e., dereference a null pointer. This is now clearly stated in the manual.
    fd9a200d
test.hpp 9.42 KB