Boost logo

Boost :

From: Tomasz Kowalczyk (tomek_at_[hidden])
Date: 2000-06-22 08:45:39


By default g++ has template maximum nesting depth set to 17. This is a
number mysteriously chosen in the standard as a maximum nesting depth
you can rely on. Code relying on deeper nesting is not portable and g++
gives you a hint about it.

Tomasz

jsiek_at_[hidden] wrote:
>
> By default g++ has a template nesting limit somewhere in the teens.
> You can change this with a flag, I usually set the limit to 30.
>
> -ftemplate-depth-30
>
> Cheers,
>
> Jeremy
>
> David Abrahams writes:
> > > I did try it with g++ too but didn't have much luck there - I'll
> > > leave it to a g++ expert to figure out what's wrong (with me or the
> > > code). I _think_ the templates are nested too deeply.
> >
> > Oh! That's odd. I'm pretty sure that the whole point of Jeremy's exercise
> > was getting it to work with g++ (2.95.2) with the library it ships with.
> > Clarification, Jeremy?
>
> ------------------------------------------------------------------------
> SALESFORCE.COM MAKES SOFTWARE OBSOLETE
> Secure, online sales force automation with 5 users FREE for 1 year!
> http://click.egroups.com/1/2658/4/_/9351/_/961609189/
> ------------------------------------------------------------------------


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk