
9 Aug
2008
9 Aug
'08
7:41 a.m.
- including <boost/type_traits.hpp> give also a huge latency
Did you try to include the specific boost/type_traits/xxx.hpp files you need rather than the whole type_traits.hpp? They are here precisely for that, AFAIK.
Yes normally I only include the one needed. However it was just meant to be illustrative. I have to investigate it better, but it may well turn out that some headers of type_traits are just to heavy.