Debian Codegraph @

tests/rule-of-three/main.cpp

raw
1 #include "main.h"
2 #include <QtGui/QColor>
3 #include <QtCore/QSharedDataPointer>
4 #include <QtCore/QSet>
5 struct Private
6 {
7 ~Private() { int a; };
8 };
9
10 struct AnotherPrivate
11 {
12 AnotherPrivate(const AnotherPrivate &) {};
13 };
14
15
16 Q_GLOBAL_STATIC(QObject, s_a)
17
18 class MyPrivate;
19 struct WithQSharedDataPointer
20 {
21 ~WithQSharedDataPointer();
22 WithQSharedDataPointer& operator=(const WithQSharedDataPointer &);
23
24 private:
25 QSharedDataPointer<MyPrivate> d;
26 };