Index: docs/clang-tidy/checks/cppcoreguidelines-owning-memory.rst =================================================================== --- docs/clang-tidy/checks/cppcoreguidelines-owning-memory.rst +++ docs/clang-tidy/checks/cppcoreguidelines-owning-memory.rst @@ -111,7 +111,11 @@ In template functions and classes, like in the example below, the information of the type aliases gets lost. Therefore using ``gsl::owner`` in a heavy templated code base might lead to false positives. -This limitation results in ``std::vector>`` not being diagnosed correctly. + +Known code constructs that do not get diagnosed correctly are: + +- ``std::exchange`` +- ``std::vector>`` .. code-block:: c++