mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
17 lines
319 B
C++
17 lines
319 B
C++
class NonBitwiseTakableCXXType {
|
|
public:
|
|
bool state = false;
|
|
|
|
NonBitwiseTakableCXXType() {}
|
|
|
|
NonBitwiseTakableCXXType(const NonBitwiseTakableCXXType &other) {
|
|
state = false;
|
|
}
|
|
|
|
NonBitwiseTakableCXXType(NonBitwiseTakableCXXType &&other) {
|
|
state = !other.state;
|
|
}
|
|
|
|
~NonBitwiseTakableCXXType() {}
|
|
};
|