-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Open
Labels
bugSomething isn't workingSomething isn't workingvNextBreaks binary compatibilityBreaks binary compatibility
Description
Describe the bug
The method type_info::raw_name exists, it works and no warning that it is non-Standard is emitted
Command-line test case
#include <iostream>
#include <typeinfo>
using namespace std;
int main()
{
cout << typeid(cout).raw_name();
}D:\temp2>cl /W4 /EHsc test.cpp
Microsoft (R) C/C++ Optimizing Compiler Version 19.30.30423 for x64
Copyright (C) Microsoft Corporation. All rights reserved.
test.cpp
Microsoft (R) Incremental Linker Version 14.30.30423.0
Copyright (C) Microsoft Corporation. All rights reserved.
/out:test.exe
test.obj
D:\temp2>test
.?AV?$basic_ostream@DU?$char_traits@D@std@@@std@@
Expected behavior
Non Standard method called like _Raw_name() or does not exist
STL version
Microsoft Visual Studio Professional 2022 Preview (64-bit)
Version 17.0.0 Preview 3.1
Additional context
vNext note: Resolving this issue will require breaking binary compatibility. We won't be able to accept pull requests for this issue until the vNext branch is available. See #169 for more information.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingvNextBreaks binary compatibilityBreaks binary compatibility