Sha256: d652cd9fe677acfee5e555d1071367ba881b1f4090f390382791bca7618b8b78
Contents?: true
Size: 833 Bytes
Versions: 2
Compression:
Stored size: 833 Bytes
Contents
// Compile with gcc -std=c++11 input.cpp #include <string> #include <memory> namespace n01 { std::string g01 { "" }; auto f01(std::string p01) -> std::string { // initialization of unnamed temporary (makes no sense to report it, just don't think it's a function) std::string { "" }; // list initialisation for local std::string l01 { "" }; // constructor call for list initialisation new std::string { "" }; // copy list initialisation for local std::string l02 = { "" }; // return list initalizer return { "" }; } class C01 { public: std::string m01 { "" }; std::string m02; std::string m03; C01(std::string p02) : m02 { "" } { } C01() : m02 { "" }, m03 { "" } { std::string l03 { "" }; f01({ "" }); std::string l04 { "" }; C01 l05{ "" }; } }; }
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ctags.rb-1.1.4 | ext/vendor/ctags/Units/parser-cxx.r/brackets.cpp.d/input.cpp |
ctags.rb-1.1.3 | ext/vendor/ctags/Units/parser-cxx.r/brackets.cpp.d/input.cpp |