Boost Users :
Subject: [Boost-users] Is selective header including supposed to work?
From: Johannes Lorenz (johannes89_at_[hidden])
Date: 2014-04-12 09:47:23
I like Qi, but the compile times are terrible sometimes. My example is similar to this in , but it needs 3x as much time to compile. I thought this problem might be omitted by including selectively what is needed. So I went into  and replaced
#include <boost/spirit/include/qi_char.hpp> .
I got far, but then, there comes up a long error message, beginning like in .
My questions are:
* is selectively including from "boost/spirit/include" supposed to work, or should this never be done?
* if it should work, what is still left to be included in my case?
My version of boost is 1.53.
Many thanks on advance.
 [...]/usr/include/boost/spirit/home/qi/nonterminal/rule.hpp:176:13: error: no matching function for call to âassertion_failed[...]
/usr/include/boost/spirit/home/qi/nonterminal/rule.hpp:176:13: note: candidate is:
/usr/include/boost/mpl/assert.hpp:79:5: note: template<bool C> int mpl_::assertion_failed(typename mpl_::assert<C>::type)
int assertion_failed( typename assert<C>::type );
/usr/include/boost/mpl/assert.hpp:79:5: note: template argument deduction/substitution failed:[...]
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net