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_typetra... 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_typetra...
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