Boost logo

Boost :

Subject: Re: [boost] C++11 decltype/SFINAE puzzler
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2012-07-17 11:05:09


On 09/07/2012 17:58, Felipe Magno de Almeida wrote:

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

The next GCC version (4.8) supports the -ftemplate-backtrace-limit=0
option to disable the limit.

Clang supports it as well.


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