Re: [Boost-bugs] [Boost C++ Libraries] #6921: documentation for BOOST_MPL_ASSERT_RELATION inconsistent with implementation

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6921: documentation for BOOST_MPL_ASSERT_RELATION inconsistent with implementation
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-10-29 05:12:28


#6921: documentation for BOOST_MPL_ASSERT_RELATION inconsistent with
implementation
-------------------------------+--------------------------------------------
  Reporter: ramey | Owner: agurtovoy
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: mpl
   Version: Boost 1.49.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+--------------------------------------------

Comment (by ramey):

 http://www.boost.org/doc/libs/1_49_0/libs/mpl/doc/refmanual/integral-
 constant.html

 defines "integral constant" as a concept.

 http://www.boost.org/doc/libs/1_49_0/libs/mpl/doc/refmanual/assert-
 relation.html

 shows

 Synopsis

 #define BOOST_MPL_ASSERT_RELATION( x, relation, y ) \
     unspecified token sequence \

 with parameter x and y required to be "integral constant"

 The example shows

 BOOST_MPL_ASSERT_RELATION( sizeof(T), <, sizeof(U) );

 which supports your reading. At the very least the document
 has to be considered confusing and in need of improvement.

 Robert Ramey

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6921#comment:2>
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:11 UTC