Skip to content

Instantly share code, notes, and snippets.

import Foundation
struct FooImages {
static let images = [UIImage(named:"foo1"), UIImage(named:"foo1")]
}
@uliwitness
uliwitness / constructorless_works.cpp
Last active September 8, 2015 16:42 — forked from anonymous/int_doesnt_work.cpp
The second example's second case won't compile (complains it expected a class after ~) but the third one through the template does. Anyone know what I'm doing wrong?
#include <string>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <malloc/malloc.h>
class JollyRoger
{
public: