$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Niall Douglas (s_sourceforge_at_[hidden])
Date: 2022-04-05 17:47:11
On 05/04/2022 18:34, Peter Dimov via Boost wrote:
> My ambitions are modest. All I want is to be able to do this:
>
> #if BOOST_MODULES_SUPPORTED
>
> import <cstddef>;
> import <type_traits>;
> import <exception>;
> import <initializer_list>;
> import <utility>;
> import <functional>; // std::hash
> import <cstdint>;
> import <iosfwd>;
>
> #else
>
> #include <cstddef>
> #include <type_traits>
> #include <exception>
> #include <initializer_list>
> #include <utility>
> #include <functional> // std::hash
> #include <cstdint>
> #include <iosfwd>
>
> #endif
The compiler will automatically as-if do the above for you if Modules
are enabled for standard library headers. It's clever enough to
interpret an include as an import. So no need.
Niall