You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run preprocessor on std.ixx and inspect its output:
>cl /EHsc /std:c++latest /P "%VCToolsInstallDir%\modules\std.ixx"
Microsoft (R) C/C++ Optimizing Compiler Version 19.40.33808 for x64
Copyright (C) Microsoft Corporation. All rights reserved.
/std:c++latest is provided as a preview of language features from the latest C++
working draft, and we're eager to hear about bugs and suggestions for improvements.However, note that these features are provided as-is without support, and subjectto changes or removal as the working draft evolves. Seehttps://go.microsoft.com/fwlink/?linkid=2045807 for details.std.ixx
Search type_info in std.i from top, we see that the first statement is in eh.h
extern"C++" { // attach declarations to the global module, see N4910 [module.unit]/7classtype_info;
} // extern "C++"
Thanks - I forgot to search VCRuntime for forward-declaring its own machinery. (This would be easier if MSVC enforced the Standard rule; I've got an active bug requesting that from the compiler team.)
Run preprocessor on
std.ixx
and inspect its output:Search
type_info
instd.i
from top, we see that the first statement is ineh.h
and later in
vcruntime_typeinfo.h
it is exported:I believe this violates https://eel.is/c++draft/module.interface#6
The text was updated successfully, but these errors were encountered: