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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.