3 ms·
> There's no warning from the compiler You can use clang-tidy to warn / error on that: https://clang.llvm.org/extra/clang-tidy/checks/cppcoreguidelines-slicin
by jcelerier 5y ago
> There's no warning from the compiler
You can use clang-tidy to warn / error on that:
https://clang.llvm.org/extra/clang-tidy/checks/cppcoreguidelines-slicing.html https://clang.llvm.org/extra/clang-tidy/checks/cppcoreguidel...