Implement support for [[nodiscard]] in C++1z that is based off existing…

Description

Implement support for [[nodiscard]] in C++1z that is based off existing support for warn_unused_result, and treat it as an extension pre-C++1z. This also means extending the existing warn_unused_result attribute so that it can be placed on an enum as well as a class.

Details

Committed
aaronballmanMar 7 2016, 2:44 PM
Parents
rL262871: Implement P0025R0: 'An algorithm to clamp a value between a pair of boundary…
Branches
Unknown
Tags
Unknown