mirror of
https://github.com/boostorg/mqtt5.git
synced 2025-07-31 21:14:49 +02:00
Add bool conversion operator to subscription_identifiers.
Reviewers: ivica Reviewed By: ivica Subscribers: korina Differential Revision: https://repo.mireo.local/D27993
This commit is contained in:
@@ -54,6 +54,10 @@ public:
|
||||
return !empty();
|
||||
}
|
||||
|
||||
explicit operator bool() const noexcept {
|
||||
return !empty();
|
||||
}
|
||||
|
||||
int32_t& operator*() noexcept {
|
||||
return front();
|
||||
}
|
||||
|
Reference in New Issue
Block a user