
The "C++ Template Programming" book mentions an mpl::print metafunction in order to generate a warning diagnostic message. The Boost online documentation appears to be missing any message of this metafunction. Is this an error in the book or an error in the documentation ? If this metafunction does exist, what header file is it in ?

AMDG Edward Diener wrote:
The "C++ Template Programming" book mentions an mpl::print metafunction in order to generate a warning diagnostic message. The Boost online documentation appears to be missing any message of this metafunction. Is this an error in the book or an error in the documentation ? If this metafunction does exist, what header file is it in ?
boost/mpl/print.hpp In Christ, Steven Watanabe

Steven Watanabe wrote:
AMDG
Edward Diener wrote:
The "C++ Template Programming" book mentions an mpl::print metafunction in order to generate a warning diagnostic message. The Boost online documentation appears to be missing any message of this metafunction. Is this an error in the book or an error in the documentation ? If this metafunction does exist, what header file is it in ?
boost/mpl/print.hpp
In Christ, Steven Watanabe
Thanks ! I will file a TRAC item on it not being documented in the online docs. Similarly I found that mpl::for_each was not documented in the online docs and will file a TRAC item on that also.

for_each is now documented at:
http://www.boost.org/doc/libs/1_35_0/libs/mpl/doc/refmanual/for-each.html
On Wed, May 7, 2008 at 9:18 PM, Edward Diener
Similarly I found that mpl::for_each was not documented in the online docs and will file a TRAC item on that also.

Ovanes Markarian wrote:
for_each is now documented at: http://www.boost.org/doc/libs/1_35_0/libs/mpl/doc/refmanual/for-each.html
Unfortunately it is not in the PDF version of the documentation. So evidently the PDF version of the reference manual has not been kept current as the HTML of the reference manual has.
On Wed, May 7, 2008 at 9:18 PM, Edward Diener
mailto:eldiener@tropicsoft.com> wrote: Similarly I found that mpl::for_each was not documented in the online docs and will file a TRAC item on that also.

Steven Watanabe a écrit :
AMDG
Edward Diener wrote:
The "C++ Template Programming" book mentions an mpl::print metafunction in order to generate a warning diagnostic message. The Boost online documentation appears to be missing any message of this metafunction. Is this an error in the book or an error in the documentation ? If this metafunction does exist, what header file is it in ?
boost/mpl/print.hpp
Is there any working sample of print in MPL ? I tried to use it but my compiler did not output any message. Is some special flag need to be set ? I work with gcc 4.1 mingw for informations -- Joel FALCOU Research Engineer @ Institut d'Electronique Fondamentale Université PARIS SUD XI France
participants (4)
-
Edward Diener
-
Joel FALCOU
-
Ovanes Markarian
-
Steven Watanabe