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:
>

[snip]

> 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.

+1

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.

[snip]

> --
> Eric Niebler
> BoostPro Computing
> http://www.boostpro.com

Regards,

-- 
Felipe Magno de Almeida

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk