You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ffi-clang/spec/ffi/clang/fixtures/class.cpp

28 lines
356 B
C++

class MyClass1 {
void create();
};
void MyClass1::create()
{
this->create();
}
class MyClass2 {
public:
MyClass2();
~MyClass2();
MyClass2(int value);
explicit MyClass2(double value);
MyClass2(const MyClass2& other) = default;
MyClass2(MyClass2&& other);
};
class MyClass3 {
public:
virtual void iAmAbstract() = 0;
mutable int changeMe;
};