simgrid::simix::Mailbox *pimpl_;
- Mailbox(smx_mailbox_t mbox): pimpl_(mbox) {}
+ explicit Mailbox(smx_mailbox_t mbox): pimpl_(mbox) {}
/** private function to manage the mailboxes' lifetime (see @ref s4u_raii) */
friend void intrusive_ptr_add_ref(Mailbox*) {}
smx_mailbox_t getImpl() { return pimpl_; }
/** Gets the name of that mailbox */
- const char *getName();
+ const char *name();
/** Retrieve the mailbox associated to the given C string */
static MailboxPtr byName(const char *name);