"C++20 Modules ??? Complete Guide" by ??imon T??th
https://itnext.io/c-20-modules-complete-guide-ae741ddbae3d
"Compilers and build systems are slowly starting to support C++20
modules. Perfect time for you to read this guide and benefit from the
massive compilation speedups. This article reflects the state as of
September 2021."
On 2021-09-13, Lynn McGuire <lynnmc...@gmail.com> wrote:
"C++20 Modules ??? Complete Guide" by ??imon T??th https://itnext.io/c-20-modules-complete-guide-ae741ddbae3d
"Compilers and build systems are slowly starting to support C++20
modules. Perfect time for you to read this guide and benefit from the massive compilation speedups. This article reflects the state as of September 2021."
Thanks for the link.
I have a couple of quick questions.
In the "module" example we have
#include <iostream>;
Is the semicolon required here? Subtle, hard to spot change if it is!
On Tuesday, September 14, 2021 at 2:50:20 AM UTC-5, Tim Woodall wrote:
On 2021-09-13, Lynn McGuire <lynnmc...@gmail.com> wrote:
"C++20 Modules ??? Complete Guide" by ??imon T??thThanks for the link.
https://itnext.io/c-20-modules-complete-guide-ae741ddbae3d
"Compilers and build systems are slowly starting to support C++20
modules. Perfect time for you to read this guide and benefit from the
massive compilation speedups. This article reflects the state as of
September 2021."
I have a couple of quick questions.
In the "module" example we have
#include <iostream>;
Is the semicolon required here? Subtle, hard to spot change if it is!
The code in the page was
import <iostream>;
Code uses 'import' not 'include'; also the '#' is omitted. In other words, no preprocessor at play.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 113 |
Nodes: | 8 (1 / 7) |
Uptime: | 32:53:25 |
Calls: | 2,498 |
Files: | 8,649 |
Messages: | 1,906,520 |