question

BariasAbeAUTOSOLSYSSMNL-3117 avatar image
5 Votes"
BariasAbeAUTOSOLSYSSMNL-3117 asked TaylorCaleb-0860 published

C++/CLI project with C++20 Standard

Hello,

I got this compilation warning from a CLI project with C++20 standard setting:

1>c1xx : warning C4857: C++/CLI mode does not support C++ versions newer than C++17; setting language to /std:c++17

Will there be a support for C++20 and future C++ standards for C++/CLI?

Thank you.

c++dotnet-cli
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Castorix31 avatar image
1 Vote"
Castorix31 answered

From this thread VS 2019 C++/CLI Support C++20:Concept,

"We don’t have plans to support C++20 concepts in C++/CLI."

But it was in Dec 09, 2020...



5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

IvanV-3934 avatar image
4 Votes"
IvanV-3934 answered

Microsoft, please provide some guidance on this. C++/CLI needs to update with the C++ standard for it to remain viable.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

TaylorCaleb-0860 avatar image
0 Votes"
TaylorCaleb-0860 answered TaylorCaleb-0860 published

Holding back language standard support for the codebase due to C++/CLI is a bit of an issue.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.