
23 Dec
2024
23 Dec
'24
3:25 a.m.
> Also, vendors have made the std module available in C++20. Yes. Given libstdc++ has std module too now. I think it makes sense to only import std in modules code. As someone mentioned somewhere else, it is slightly harder to maintain 3 modes: 1. traditional header modes. 2. modules modes with import std available. 3. modules modes with import std not available. Given how important std module is, I think it makes sense to assume import std is available to reduce some maintain burden. Thanks, Chuanqi ------------------------------------------------------------------ From:René Ferdinand Rivera Morell via Boost <boost@lists.boost.org> Send Time:2024 Dec. 23 (Mon.) 03:21 To:boost<boost@lists.boost.org> Cc:"René Ferdinand Rivera Morell"<grafikrobot@gmail.com>; Peter Dimov<pdimov@gmail.com> Subject:Re: [boost] Interest for C++20 modules support of boost officially On Sun, Dec 22, 2024 at 9:30 AM Ruben Perez via Boost <boost@lists.boost.org> wrote: > > I was going to say that the same applies to the -std level, but it > occurs to me > > that in order to build and use modules, you need at least -std=c++20 > anyway > > so most such issues won't manifest for now, until we get conditional uses > > of C++23 or C++26. > > In the prototype I'm writing, it's C++23, since everything uses import > std. As you have mentioned many times, that's the only way to cut > build times. > Also, vendors have made the std module available in C++20. -- -- René Ferdinand Rivera Morell -- Don't Assume Anything -- No Supongas Nada -- Robot Dreams - http://robot-dreams.net <http://robot-dreams.net > _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost <http://lists.boost.org/mailman/listinfo.cgi/boost >