Implement module (.cppm) in separate file (MSVS2019 Community, c++20)

Fakhriyor Otamirzaev 1 Reputation point
2021-08-23T13:51:15.107+00:00

I've got compilation errors when I am trying to implement module in separate file. However compilation is successful when I implement module in .cppm file. What's wrong here? Is it due to experimental features or I should configure something in project's properties?

C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,549 questions
{count} votes