Re: [review] Reminder: The review of boost::container::hub ends April 26
Peter Dimov via Boost <[email protected]>
| Newsgroups | gmane.comp.lib.boost.devel |
|---|---|
| Message-ID | <[email protected]> |
Joaquin M López Muñoz wrote: > > - get_iterator should assert if the user passes an invalid pointer. > > I'd assert on the mask bit being set. > Yes. I'm a little mystified by the standard spec for this as get_iterator is marked > noexcept, so it's violating Lakos Rule if I'm not wrong. DR worthy? Probably. It's not clear how Lakos interacts with hardened preconditions, but it's worth an open issue either way. _______________________________________________ Boost mailing list -- [email protected] To unsubscribe send an email to [email protected] https://lists.boost.org/mailman3/lists/boost.lists.boost.org/ Archived at: https://lists.boost.org/archives/list/[email protected]/message/DQXIOU5C3VUBFT7NPICBPVWOU4MYIIHH/