Boost logo

Boost :

From: John Maddock (John_Maddock_at_[hidden])
Date: 2000-04-30 05:44:31


>Dave, I've tried to play a little with the problem and that play turned
>into a new version of 'boost/operators.hpp', which implements the
>technique and still has backward compatibility with old code. It's not
>perfect and there are some parts of the code which probably need to be
>reworked, but in whole it may serve the needs. MW CW 5.3 and KAI C++ 3.3
>NT seem to be quite happy with the new version (at least they compile and
>run 'operators_test.cpp' without any error).

Is there a limit to how far templates can nest like this? boost::operators
seems to go 12 levels deep - unless I'm wrong here - comments?

- John.

Boost list run by bdawes at, gregod at, cpdaniel at, john at