small enable_if documentation or header bug

The documentation of enable_if reads: 3 Using enable_if The enable_if templates are defined in boost/utility/enable_if.hpp, which is included by boost/utility.hpp. but the header boost/utility/enable_if.hpp is not included by boost/utility.hpp. best regards, Richard Peters

Fixed, Thanks Richard. Jaakko On May 4, 2004, at 7:32 AM, Richard Peters wrote:
The documentation of enable_if reads:
3 Using enable_if The enable_if templates are defined in boost/utility/enable_if.hpp, which is included by boost/utility.hpp.
but the header boost/utility/enable_if.hpp is not included by boost/utility.hpp.
best regards,
Richard Peters
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Another bug sits in section 3.4, Compiler workarounds. This line contrudicts with dummy<0> and dummy<1> on next lines: template <class T> struct dummy { dummy(int) {} }; and should be replated with template <int> struct dummy { dummy(int) {} }; -- Alexander Nasonov Independent Developer and Consultant

Thanks Alexander, fixed. On May 4, 2004, at 4:18 PM, Alexander Nasonov wrote:
Another bug sits in section 3.4, Compiler workarounds. This line contrudicts with dummy<0> and dummy<1> on next lines:
template <class T> struct dummy { dummy(int) {} };
and should be replated with
template <int> struct dummy { dummy(int) {} };
-- Alexander Nasonov Independent Developer and Consultant
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
participants (3)
-
Alexander Nasonov
-
Jaakko Jarvi
-
Richard Peters