From 53aec15195ed47099d18239b17fffe3bdb0ba056 Mon Sep 17 00:00:00 2001 From: Glen Fernandes Date: Sat, 8 Sep 2018 11:17:48 -0400 Subject: [PATCH] Add note to documentation and correct spelling --- doc/enable_if.qbk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/doc/enable_if.qbk b/doc/enable_if.qbk index 227bdb0..adf96c6 100644 --- a/doc/enable_if.qbk +++ b/doc/enable_if.qbk @@ -20,10 +20,14 @@ there is no member `type`. __header `#include ` +[note The trait has the name `enable_if_` (with a trailing underscore) but +behaves like `std::enable_if` or `boost::enable_if_c`. The existing trait +with the name `boost::enable_if` has a different interface.] + __examples The following function can be used to destroy each element of an array and -specially handle arrays of trivially destrucibtle types. +specially handle arrays of trivially destructible types. template typename boost::enable_if_::value>::type