Boost logo

Boost :

Subject: Re: [boost] New dependency report
From: Vicente J. Botet Escriba (vicente.botet_at_[hidden])
Date: 2014-06-15 09:08:33


Le 15/06/14 14:17, Andrey Semashev a écrit :
> On Sunday 15 June 2014 13:47:22 Vicente J. Botet Escriba wrote:
>> Just to clarify my concern, the documentation of TypeTraits doens't
>> preclule any dependency to MPL types and any module using this
>> implementation detail should be fixed or we need to update the
>> TypeTraits documentation.
> Deriving from MPL primitives is documented.
>
> http://www.boost.org/doc/libs/1_55_0/libs/type_traits/doc/html/boost_typetraits/mpl.html
I was not aware of this section. It would be better if this information
were on the reference manual section.

IMO, this is in contradiction with the reference documentation
http://www.boost.org/doc/libs/1_55_0/libs/type_traits/doc/html/boost_typetraits/reference/integral_constant.html

 From mpl.html "Purely as an implementation detail, this means that
|true_type| inherits from |boost::mpl::true_|"
 From integral_constant.html "typedef integral_constant<bool, true>
true_type;"

The documentation should be updated to make the whole coherent.

Best,
Vicente


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk