summaryrefslogtreecommitdiff
path: root/tests/headers/mutable.hpp
blob: b61a10310141deed7edc4ae90f7da73cc9d05ceb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
class C {
    mutable int m_member;
    int m_other;
};

class NonCopiable {
    mutable int m_member;

    ~NonCopiable() {};
};

class NonCopiableWithNonCopiableMutableMember {
    mutable NonCopiable m_member;
};