first commit
This commit is contained in:
commit
d2f10f3bbc
84 changed files with 13382 additions and 0 deletions
27
livedemo/file.h
Normal file
27
livedemo/file.h
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
|
||||
#def WXDLLIMPEXP_CORE
|
||||
|
||||
#define constantA 1
|
||||
#define constantB 2
|
||||
|
||||
|
||||
namespace Name {
|
||||
|
||||
|
||||
|
||||
template <typename T>
|
||||
class WXDLLIMPEXP_CORE Foo {
|
||||
public:
|
||||
T value = {. NimConstant + 78 shr 9 .};
|
||||
T GetValue() { return value; }
|
||||
T& SetValue(int x) { field = x; return &field; }
|
||||
|
||||
Foo(T x): field(x) {}
|
||||
~Foo() {}
|
||||
|
||||
bool operator==(Foo<T>& const other) const;
|
||||
bool operator!=(Foo other);
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue