Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/cplusplus/136.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C++ 如何让繁盛的ctags解析“;使用;样式类型定义?_C++_C++11_Ctags_Exuberant Ctags - Fatal编程技术网

C++ 如何让繁盛的ctags解析“;使用;样式类型定义?

C++ 如何让繁盛的ctags解析“;使用;样式类型定义?,c++,c++11,ctags,exuberant-ctags,C++,C++11,Ctags,Exuberant Ctags,如何使用类型别名(如下面的别名)让CTAG解析 using FooPtr = std::shared_ptr<Foo>; 使用FooPtr=std::shared\u ptr; >仅使用“代码> TyPulf< /Calp>声明.< /P> < P>VultualCCTAGs*()从繁琐CTAGS句柄中分叉,使用“C++”源文件中的“:/P>” [jet@localhost]/tmp% cat /tmp/foo.cpp using FooPtr = std::shared_p

如何使用类型别名(如下面的别名)让CTAG解析

using FooPtr = std::shared_ptr<Foo>;
使用FooPtr=std::shared\u ptr;
<> >仅使用“代码> TyPulf< /Calp>声明.< /P> < P>VultualCCTAGs*()从繁琐CTAGS句柄中分叉,使用“C++”源文件中的“:/P>”
[jet@localhost]/tmp% cat /tmp/foo.cpp 
using FooPtr = std::shared_ptr<Foo>;
[jet@localhost]/tmp% u-ctags -o - /tmp/foo.cpp
FooPtr  /tmp/foo.cpp    /^using FooPtr = std::shared_ptr<Foo>;$/;"  t   typeref:typename:std::shared_ptr<Foo>   file:
[jet@localhost]/tmp%cat/tmp/foo.cpp
使用FooPtr=std::shared\u ptr;
[jet@localhost]/tmp%u-ctags-o-/tmp/foo.cpp
FooPtr/tmp/foo.cpp/^使用FooPtr=std::shared\u ptr;$/;“t typeref:typename:std::shared_ptr文件:

可能是更新C++支持的时候了。,-,!-旺盛的CTAG已经过时了很多年!看看Mastake的答案。有一个新的派生版本正在开发中。它也没有和lambda和其他“新”东西有关。BTW:C++ 11已经过时了7年了?你有很长的时间我相信: