cht-
Von: Mat Sutcliffe [mailto:oktal3...@gmail.com]
Gesendet: Mittwoch, 24. Oktober 2018 18:42
An: Krzikalla, Olaf; cfe-users@lists.llvm.org
Betreff: Re: [cfe-users] dynmaic_cast in uninstantiated function templates
On Wed, 24 Oct 2018 at 02:06, Olaf wrote:
>
> the code below compiles o
On Wed, 24 Oct 2018 at 02:06, Olaf wrote:
>
> the code below compiles on gcc and icc, but not on clang with the error:
>
> source_file.cpp:14:16: error: 'B' is an incomplete type
> if (auto b = dynamic_cast(a))
>
> However fn is an uninstantiated function template.
> Is this a glitch in clang or