Boost logo

Boost :

From: Antony Polukhin (antoshkka_at_[hidden])
Date: 2020-08-22 14:47:24


On Sat, Aug 22, 2020, 15:49 Vinnie Falco via Boost <boost_at_[hidden]>
wrote:

> On Fri, Aug 21, 2020 at 11:55 AM Damian Vicino via Boost
> <boost_at_[hidden]> wrote:
> > Are there any guidelines on the use of modules inside boost?
>
> No.
>
> > Are we planning any steps for adoption of them?
>
> That question is answered on a library by library basis. Speaking for
> Boost.Beast, modules requires C++20 while Beast only requires C++11,
> so Beast will not be "using modules" any time soon.
>

I'd rather treat C++20 modules in 2020 as C++11 rvalues in 2011. If the
compiler supports them then Boost library authors may use them in the
library and provide benefits to the end users. But they won't become a
required feature in next 20 years.

I'd expect some kind of guidelines and macro in Boost.Config as soon as we
get some compiler that properly implements the C++20 modules. Right now
there's no such compiler.

>


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk