clang 3.1 can't see unique_ptr?

后端 未结 1 1435
臣服心动
臣服心动 2021-02-19 01:12

I\'ve just started playing around with clang and tried to compile the following sample program:

#include 
#include 

int main()
{
          


        
1条回答
  •  夕颜
    夕颜 (楼主)
    2021-02-19 01:46

    I got it to compile by using

    clang++ test.cpp  -std=c++11 -stdlib=libc++
    

    0 讨论(0)
提交回复
热议问题