Boost logo

Boost :

Subject: Re: [boost] C++11 decltype/SFINAE puzzler
From: Felipe Magno de Almeida (felipe.m.almeida_at_[hidden])
Date: 2012-07-09 11:58:45

On Fri, Jul 6, 2012 at 10:17 PM, Eric Niebler <eric_at_[hidden]> wrote:


> I'd like to second what Nate said. My experience is that not providing
> the backtrace is a usability nightmare. To me, this is *exactly*
> analogous to a template instantiation backtrace and should, IMO, be
> handled exactly the same way. If you want to snip the middle of the
> backtrace, fine, but show the start and the end (the deepest point, I
> guess), and perhaps provide an option for dumping the complete thing.


I have this problem all the time with skipped template instantiations
in error messages in GCC. Sometimes I just can't know which code
causes the problem because its instantiation isn't listed in the error
message. This is *very annoying* and I just surrender and try with
MSVC to find the root cause of the problem. It is not always the
leaf, nor is always the first instantation as well.


> --
> Eric Niebler
> BoostPro Computing


Felipe Magno de Almeida

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