-
Notifications
You must be signed in to change notification settings - Fork 0
/
public.pure.cpp
62 lines (36 loc) · 1.52 KB
/
public.pure.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
module;
#define CPP2_USE_SOURCE_LOCATION Yes
#define CPP2_USE_MODULES Yes
#include "cpp2util.h"
export module pof;
import personal;
//=== Cpp2 type declarations ====================================================
#line 4 "/home/g-zu/projects/proofoffailure/public.pure.cpp2"
class private_shit;
#line 12 "/home/g-zu/projects/proofoffailure/public.pure.cpp2"
export class handle;
//=== Cpp2 type definitions and function declarations ===========================
#line 4 "/home/g-zu/projects/proofoffailure/public.pure.cpp2"
class private_shit {
private: cpp2::u64 io_context;
public: explicit private_shit();
public: private_shit(private_shit const&) = delete; /* No 'that' constructor, suppress copy */
public: auto operator=(private_shit const&) -> void = delete;
#line 10 "/home/g-zu/projects/proofoffailure/public.pure.cpp2"
};
class handle {
private: std::unique_ptr<private_shit> d {cpp2_new<private_shit>()};
public: explicit handle();
public: handle(handle const&) = delete; /* No 'that' constructor, suppress copy */
public: auto operator=(handle const&) -> void = delete;
#line 16 "/home/g-zu/projects/proofoffailure/public.pure.cpp2"
};
//=== Cpp2 function definitions =================================================
#line 7 "/home/g-zu/projects/proofoffailure/public.pure.cpp2"
private_shit::private_shit()
: io_context{ 42 }
#line 7 "/home/g-zu/projects/proofoffailure/public.pure.cpp2"
{
}
#line 15 "/home/g-zu/projects/proofoffailure/public.pure.cpp2"
handle::handle(){}