unique_ptr autocomplete in eclipse

前端 未结 2 1162
南笙
南笙 2021-02-10 03:54

I am playing with unique_ptr. In my last post people helped me compiling a program that used this pointer by specifying the -std=c++0x during compilation. Now i was wondering if

2条回答
  •  时光说笑
    2021-02-10 04:21

    I guess you should add __GXX_EXPERIMENTAL_CXX0X__ definition to your "Paths and Symbols" in Eclipse. See also this question GNU C++ how to check when -std=c++0x is in effect? and the same question Eclipse indexer can't resolve shared_ptr for shared_ptr.

提交回复
热议问题