<any>: Skip the contents when static RTTI is disabled#3115
Conversation
The contents should be skipped when static RTTI is unavailable.
Co-authored-by: Casey Carter <[email protected]>
|
Do we want to additionally not include |
|
@strega-nil-ms Agreed - the intention is for |
`<algorithm>` is always included first, so `<yvals_core.h>` is available.
Also reduce the /analyze coverage to one configuration.
|
Ok, I've pushed the following changes (FYI @CaseyCarter @strega-nil-ms):
Thanks @frederick-vs-ja for working on this - if we're going to have this not-exactly-encouraged-but-still-supported mode, it should behave reasonably, and I think your change makes the story coherent. 😻 ✅ Note to self: modules changes verified. |
|
I'm mirroring this to the MSVC-internal repo - please notify me if any further changes are pushed. |
|
Thanks for fixing the first bug after Standard Library Modules was merged! 🐞 ✅ 😻 |
Co-authored-by: Casey Carter <[email protected]> Co-authored-by: Stephan T. Lavavej <[email protected]>
This PR is making
#include <any>effectless rather than erroneous when static RTTI is disabled.Fixes #3114.