Re: [Boost-bugs] [Boost C++ Libraries] #1900: Missing documentation for mpl::print in the MPL library

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #1900: Missing documentation for mpl::print in the MPL library
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-11-27 18:46:10


#1900: Missing documentation for mpl::print in the MPL library
------------------------------------------------------+---------------------
  Reporter: Edward Diener <eldiener@…> | Owner: jfalcou
      Type: Bugs | Status: new
 Milestone: Boost 1.36.0 | Component: mpl
   Version: Boost 1.35.0 | Severity: Problem
Resolution: | Keywords: mpl print
------------------------------------------------------+---------------------

Comment (by mgaunard):

 There are better tricks for displaying types with GCC.

 I personally just use

 {{{
 template<class T>
 struct print
 {
   unsigned : 80;
   typedef T type;
 };
 }}}

 doesn't work at all with other compilers though.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/1900#comment:5>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:07 UTC