Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 354f21f commit df91b81Copy full SHA for df91b81
1 file changed
cpp/ql/src/semmle/code/cpp/models/implementations/StdPair.qll
@@ -7,10 +7,16 @@ import semmle.code.cpp.models.interfaces.Taint
7
/**
8
* An instantiation of `std::pair<T1, T2>`.
9
*/
10
-class StdPair extends ClassTemplateInstantiation {
+private class StdPair extends ClassTemplateInstantiation {
11
StdPair() { this.hasQualifiedName(["std", "bsl"], "pair") }
12
}
13
14
+/**
15
+ * DEPRECATED: This is now called `StdPair` and is a private part of the
16
+ * library implementation.
17
+ */
18
+deprecated class StdPairClass = StdPair;
19
+
20
21
* Any of the single-parameter constructors of `std::pair` that takes a reference to an
22
* instantiation of `std::pair`. These constructors allow conversion between pair types when the
0 commit comments