Skip to content

Instantly share code, notes, and snippets.

View suminb's full-sized avatar

Sumin Byeon suminb

View GitHub Profile
@suminb
suminb / hello_c++0x.cpp
Created October 23, 2011 00:54 — forked from dahlia/hello_c++0x.cpp
My First C++0x (C++11) Program
#include <iostream>
#include <iterator>
#include <list>
using namespace std;
list<int> map(int (*f)(int x), list<int>* l) {
list<int> result;
list<int>::iterator it = l->begin();