Subject: Re: [boost] [parameter] arg_list.hpp depends on maybe.hpp
From: David Abrahams (dave_at_[hidden])
Date: 2010-05-24 15:05:24
At Mon, 24 May 2010 22:10:20 +0400,
Andrey Semashev wrote:
> I've been inspecting my code for a possible compilation speedup. The
> code uses Boost.Parameter and thus my attention shifted to it as well.
> I noticed that the parameter/aux_/arg_list.hpp header depends on
> parameter/aux_/maybe.hpp, which appears to be quite heavy due to its
> usage of Boost.Optional and other headers. From the code it looks like
> this "maybe" is only related to python binding, and the only thing
> arg_list.hpp needs from it is the maybe_base class, which is trivial.
> Is it possible to extract this class to a separate header and remove the
> dependency on maybe.hpp from arg_list.hpp or am I missing something? The
> change looks quite harmless. If I'm not missing anything, am I allowed
> to apply the change?
If you can run all the regression tests and they pass, feel free to
-- Dave Abrahams Meet me at BoostCon: http://www.boostcon.com BoostPro Computing http://www.boostpro.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk