Boost logo

Boost :

Subject: Re: [boost] "Simple C++11 metaprogramming"
From: pfultz2 (pfultz2_at_[hidden])
Date: 2015-06-02 07:42:49

> SFINAE friendliness can be quite a curse. It often transforms reasonably
> comprehensible error messages into full-scale Agatha Christie mysteries
> (the
> compiler output even being of comparable length). So I'm not convinced (at
> the moment) that a metaprogramming library should be SFINAE-friendly.

Yep, this is something where compilers need to improve. It should treat the
diagnostic to undefined template instantiation the same way as overload
resolution failure. This way you can have a trace back to the original
instead of showing a bunch of unrelated errors.


View this message in context:
Sent from the Boost - Dev mailing list archive at

Boost list run by bdawes at, gregod at, cpdaniel at, john at