$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Mike (mike.dev_at_[hidden])
Date: 2020-08-23 21:43:57
> Gesendet: Sonntag, 23. August 2020 um 23:16 Uhr
> Von: "Peter Dimov via Boost" <boost_at_[hidden]>
>
> Mike wrote:
>
> > And for a wrapper module, what I have in mind is something like:
> >
> > module;
> > #include <boost/variant.hpp>
> > export module Boost.Variant;
> >
> > namespace boost {
> > export using boost::variant;
> > }
>
> Or you could just use `import <boost/variant.hpp>` and not need any
> wrappers.
>
That's why I previously said
> Make sure your headers can be used as header units and/or provide a wrapper module for each library.
A wrapper module has the advantage, that it creates a named module and only exports what is explicitly specified, whereas "just" making sure the headers are importable is much easier to do, but doesn't provide the same level of isolation.