[PATCH] D31234: Implement P0599 - noexcept for hash functions

Eric Fiselier via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 22 17:38:35 PDT 2017


EricWF accepted this revision.
EricWF added a comment.
This revision is now accepted and ready to land.

LGTM. Although it would be useful to test that `hash<variant<...>>` and `hash<optional<T>>` do not have noexcept call operators.

Alternatively should we make `hash` conditionally noexcept for `variant` and `optional`?


https://reviews.llvm.org/D31234





More information about the cfe-commits mailing list