Module MemberFunction
Provides classes for working with C++ member functions, constructors, destructors, and user-defined operators.
Import path
import semmle.code.cpp.MemberFunctionImports
| cpp | Provides classes and predicates for working with C/C++ code. |
Classes
| ConstMemberFunction | A const C++ member function [N4140 9.3.1/4]. A const function has the |
| Constructor | A C++ constructor [N4140 12.1]. For example the function |
| ConversionOperator | A C++ conversion operator [N4140 12.3.2]. For example the function |
| CopyAssignmentOperator | A C++ copy assignment operator [N4140 12.8]. For example the function |
| CopyConstructor | A C++ copy constructor [N4140 12.8]. For example the function |
| Destructor | A C++ destructor [N4140 12.4]. For example the function |
| ImplicitConversionFunction | A function that defines an implicit conversion. |
| MemberFunction | A C++ function declared as a member of a class [N4140 9.3]. This includes static member functions. For example the functions |
| MoveAssignmentOperator | A C++ move assignment operator [N4140 12.8]. For example the function |
| MoveConstructor | A C++ move constructor [N4140 12.8]. For example the function |
| NoArgConstructor | A C++ constructor that takes no arguments (‘default’ constructor). This is the constructor that is invoked when no initializer is given. For example the function |
| PureVirtualFunction | A C++ pure virtual function [N4140 10.4]. For example the first function called |
| VirtualFunction | A C++ virtual function. For example the two functions called |