Boost logo

Boost :

From: Andy Glew (glew_at_[hidden])
Date: 1999-07-26 10:31:10


By the way, does Boost have a policy on how many
levels of template nesting are allowed?

Sorry, I haven't read the Boost coding standards.

ANSI C++ seems to say that no more than 17 levels
of template nesting can be relied upon. I am not sure
if this is inheritance levels, or if members which are
themselves templates count towards this limit.

It is rather easy to approach this limit.

There probably needs to be some library promise
not to use more than N levels of templates, so that
17-N levels are available to user programmers.


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