$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Eric Niebler (eric_at_[hidden])
Date: 2008-04-28 12:41:41
Abir Basak wrote:
> Hi,
>   Is the boost accumulators library has too deep nesting in  template 
> declaration ?
>   I am very interested to use it, but it increases the compile time 
> drastically (with the inclusion of header #include 
> <boost/accumulators/statistics.hpp>
This includes all the statistical accumulators. You might have an easier 
time if you just include the ones you need.
>  and sometimes it gives \boost\boost\lambda\detail\lambda_traits.hpp(53) 
> : fatal error C1204: compiler limit : internal structure overflow, even 
> for a simple program like computing mean of 3 numbers.
Sounds like you don't have SP1 for msvc-7.1 installed. Can you check?
>   So it seems there is a very deep template recursion which exceeds the 
> compiler template substitution limit.
>   Has anyone faced this kind of problem ?
>   using the boost svn head version & MSVC 7.1
If you check the 2nd to last column at 
http://www.boost.org/development/tests/trunk/developer/accumulators.html, 
you can see that Boost.Accumulators passes all its tests on msvc-7.1. 
I'm sure if you install SP1, you'll be all set.
Good luck!
-- Eric Niebler Boost Consulting www.boost-consulting.com