Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c++ > #81263

Re: "C++20 Modules ??? Complete Guide" by ??imon T??th

Newsgroups comp.lang.c++
Date 2021-09-14 07:22 -0700
References <shojj3$niq$2@dont-email.me> <shpk6q$hu3$1@einstein.home.woodall.me.uk>
Message-ID <117fe0fd-ffcf-4953-921c-4f3b245aa112n@googlegroups.com> (permalink)
Subject Re: "C++20 Modules ??? Complete Guide" by ??imon T??th
From Anand Hariharan <mailto.anand.hariharan@gmail.com>

Show all headers | View raw


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??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! 
> 

The code in the page was

    import <iostream>;

Code uses 'import' not 'include'; also the '#' is omitted.  In other words, no preprocessor at play.

Back to comp.lang.c++ | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

"C++20 Modules — Complete Guide" by Šimon Tóth Lynn McGuire <lynnmcguire5@gmail.com> - 2021-09-13 17:33 -0500
  Re: "C++20 Modules ??? Complete Guide" by ??imon T??th Tim Woodall <news001@woodall.me.uk> - 2021-09-14 07:49 +0000
    Re: "C++20 Modules ??? Complete Guide" by ??imon T??th Anand Hariharan <mailto.anand.hariharan@gmail.com> - 2021-09-14 07:22 -0700
      Re: "C++20 Modules ??? Complete Guide" by ??imon T??th Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2021-09-14 09:55 -0700

csiph-web