-----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users- bounces@lists.boost.org] On Behalf Of Dave Abrahams Sent: 08 September 2010 14:58 To: boost-users@lists.boost.org Subject: Re: [Boost-users] trick to print a type at compile-time
On Wed, Sep 8, 2010 at 8:56 AM, Eric Niebler
wrote: boost::mpl::print in boost/mpl/print.hpp. Neither seem to be documented.
mpl::print is mostly good for those cases where you need to *not* cause a compilation error, perhaps because you are trying to follow recursive instantiations. Otherwise, I'd go with an explicit error; you'll get less noise.
I tried both ways:
boost::mpl::print