[PATCH] D34237: Mark the operations of __wrap_iter as constexpr
Marshall Clow via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jun 15 06:53:40 PDT 2017
mclow.lists created this revision.
`__wrap_iter` is an internal libc++ class used to, well, wrap other iterators (such as pointers) when we need or want an object type.
Mark the operations on `__wrap_iter` as constexpr, so that they can be used in a constexpr context if the underlying iterator can be used in such a context.
I've had this kicking around my machine for a while, and it hasn't caused any problems.
It probably needs a few tests before committing, though.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 14448 bytes
Desc: not available
More information about the cfe-commits