Hi, all,
Below cannot be compiled with clang 5.0 (SVN r298093) on Visual Studio 2017.
#include
using namespace std;
int main()
{
tuple t{ 1, 3.14 };
}
The error message are as follows:
1>-- Build started: Project: cpptest, Configuration: Debug x64 --
1>main.cpp(19,8): error : no
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.
>
> #include
>
Hi, all,
Below cannot be compiled with clang 5.0 (SVN r298093) on Visual Studio 2017.
#include
using namespace std;
int main()
{
tuple t{ 1, 3.14 };
}
The error message are as follows:
1>-- Build started: Project: cpptest, Configuration: Debug x64 --
1>main.cpp(19,8): error : no