|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2003-12-11 08:09:30
Matthias Schabel <boost_at_[hidden]> writes:
>> And it doesn't exist for GCC 2.x unless you explicitly link in a
>> particular
>> object file. See
>> http://boost-consulting.com/boost/libs/python/src/converter/type_id.cpp
>
> It might be nice to separate out this code and put it together with
> other utility stuff for debugging template metaprogramming - I
> certainly would love to see some tools that simplified the results of
> MPL expressions to
> maximize their comprehensibility as debugging metaprograms can be a
> bear...
That is a highly nontrivial job. Your best bet is to use GCC with
STLFilt to look at errors. There will be a whole chapter about this
in the upcoming MPL book.
-- Dave Abrahams Boost Consulting www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk