I hereby claim:
- I am xlc on github.
- I am bryan_chen (https://keybase.io/bryan_chen) on keybase.
- I have a public key ASAbgVm-oIEZQcWvGB7nOL-wwFoe-jSG3LcGJj7JGY8pRgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| func someCondition(_: Int) -> Bool { | |
| return true | |
| } | |
| func foo() { | |
| func loop(_ index: Int) { | |
| if (index < 100) { | |
| if someCondition(index) { | |
| return loop(index + 3) | |
| } else { |
| #include <cassert> | |
| #include <deque> | |
| #include <functional> | |
| #include <algorithm> | |
| #include <memory> | |
| template <class TArg, class TFriend = void> | |
| class Event { | |
| friend TFriend; |
| class Wrapper<T> { | |
| let _val: T[] | |
| init(_ v: T) { | |
| _val = [v] | |
| } | |
| func __conversion() -> T { | |
| return _val[0] | |
| } |
| import Cocoa | |
| class A : NSObject { | |
| init() { } | |
| } | |
| class B : A { |
| struct Point3D { | |
| var x: Int | |
| var y: Int | |
| var z: Int | |
| } | |
| protocol Point3DGenerator { | |
| mutating func next() -> Point3D | |
| } |
| #include <iostream> | |
| #include <typeinfo> | |
| #include <type_traits> | |
| #include <functional> | |
| #include <tuple> | |
| using namespace std; | |
| int TestCount = 0; |
| #include <vector> | |
| #include <iostream> | |
| #include <utility> | |
| #include <functional> | |
| #include <type_traits> | |
| #include <memory> | |
| namespace xlc | |
| { | |
| template <class TIterator, class TSelectFunc> |
| #import "AppDelegate.h" | |
| #import <objc/runtime.h> | |
| #import <objc/message.h> | |
| @interface Test : NSObject | |
| @end |