[SERVER-28634] Do not rely on the value of __cplusplus for inclusion of void_t Created: 05/Apr/17 Updated: 06/Dec/17 Resolved: 05/Apr/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 3.5.6 |
| Fix Version/s: | 3.5.6 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Samantha Ritter (Inactive) | Assignee: | Samantha Ritter (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Operating System: | ALL |
| Sprint: | Platforms 2017-04-17 |
| Participants: |
| Description |
|
visual studio reports 199711L as its __cplusplus version, even when we are running C++ 14. Do not make decisions based on this macro for the inclusion of C++14 features. There is a bug report for this that was closed as "deferred" but not actually fixed, it seems: |
| Comments |
| Comment by Samantha Ritter (Inactive) [ 05/Apr/17 ] |
|
commit: https://github.com/mongodb/mongo/commit/276008e5496427cf9c3b18d4c01b73e064e37004 |