Skip to content

Commit eaa77d3

Browse files
committed
docs
1 parent 6a5f500 commit eaa77d3

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

clang-tools-extra/docs/clang-tidy/checks/bugprone/crtp-constructor-accessibility.rst

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,3 +83,16 @@ Example:
8383
Bad CompileTimeError;
8484

8585
CRTP<int> AlsoCompileTimeError;
86+
87+
Limitations:
88+
89+
* The check is not supported below C++11
90+
91+
* The check does not handle when the derived class is passed as a variadic
92+
template argument
93+
94+
* Accessible functions that can construct the CRTP, like factory functions
95+
are not checked
96+
97+
The check also suggests a fix-its in some cases.
98+

0 commit comments

Comments
 (0)