Re: [cfe-users] Bug report: Clang 5.0 (SVN r298093) cannot deduct class template arguments of tuple.

2017-03-30 Thread 312988...@qq.com via cfe-users
Yes. I conpiled it with std=c++1z; but the bug still exists. 312988...@qq.com From: Csaba Raduly Date: 2017-03-30 15:44 To: 312988...@qq.com CC: cfe-users Subject: Re: [cfe-users] Bug report: Clang 5.0 (SVN r298093) cannot deduct class template arguments of tuple. Hi, Deducing template pa

Re: [cfe-users] Bug report: Clang 5.0 (SVN r298093) cannot deduct class template arguments of tuple.

2017-03-30 Thread Csaba Raduly via cfe-users
Hi, Deducing template parameters for constructors is a C++17 feature. You need to pass the -std=c++1z flag to the compiler. On Thu, Mar 30, 2017 at 3:48 AM, 312988...@qq.com via cfe-users wrote: > Hi, all, > > Below cannot be compiled with clang 5.0 (SVN r298093) on Visual Studio 2017. > > #inc