
AMDG On 04/11/2011 11:40 AM, Jeffrey Lee Hellrung, Jr. wrote:
On Mon, Apr 11, 2011 at 11:15 AM, Matt Calabrese<rivorus@gmail.com> wrote:
However, in C++0x, there is a new way to use enable_if by altering neither the function parameter list nor the specification of the return type. It can be used with operators, constructors, variadic function templates, and even overloaded conversion operations (the latter of which was previously considered impossible). The way to do it is with C++0x default function template parameters.
<snip> Should such use be added to the docs as supported behavior in 0x compilers?
I think the case for conversion operators alone is compelling enough to warrant this use being mentioned in the Boost.EnableIf docs...
I agree. Matt, how about making a patch for the docs? In Christ, Steven Watanabe