我一直在寻找有关如何做某事的例子,并看到了这两个变种:
std::string const &s; const std::string &s;
在不同的片段.
thx你的答案:)
c++ const reference notation c++11
c++ ×1
c++11 ×1
const ×1
notation ×1
reference ×1