C ++ header files and modules: friends or foes?

There is a working draft, extensions for C ++ for modules (found in Experimental C ++ Features ). If this becomes standard, what will this mean for traditional headlines?

I mean, when I hear about importing a module, I think of Angular or Python, where I exclusively import things, and not include them.

Does this mean that the module system will replace? Or will they play together and be used where they are best suited?


Material like Includes a specific function from the header file into C ++ code , presents it that way.

+4
source share

Source: https://habr.com/ru/post/1687240/


All Articles