Boost C++ Libraries: Ticket #7723: prune include directives https://svn.boost.org/trac10/ticket/7723 <p> I was trying to figure out what was still including boost/foreach.hpp after removing every include of it in my own code, so I used the /showIncludes MSVC compiler option and it turns out it is some "deep" Spirit header finally included by boost/spirit/home/karma/generate.hpp. It also showed that boost/spirit/home/karma/generate.hpp includes an enormous amount of other headers while I include it only for a simple boost::spirit::karma::generate() (with real_generator) call. Please do prune/clean up the included headers in Boost.Spirit (and/or provide more fine grained versions of the current ones)... </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/7723 Trac 1.4.3 Domagoj Šarić Mon, 26 Nov 2012 11:34:17 GMT <link>https://svn.boost.org/trac10/ticket/7723#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/7723#comment:1</guid> <description> <p> The "deep" header is home/support/info.hpp which also includes list, iterator and boost/variant none of which I need (including the info struct itself). It also expects (which is a "fragile includes" bug IMO) &lt;string&gt; to be included which I also actually do not need... </p> </description> <category>Ticket</category> </item> </channel> </rss>