Commit 3ccaad97 authored by Dominik Charousset's avatar Dominik Charousset

Add explicit operator bool to actor_addr

parent 722cc2ed
......@@ -78,6 +78,10 @@ public:
/// Exchange content of `*this` and `other`.
void swap(actor_addr& other) noexcept;
inline explicit operator bool() const {
return static_cast<bool>(ptr_);
}
/// @cond PRIVATE
static intptr_t compare(const actor_control_block* lhs,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment