Skip to content

Instantly share code, notes, and snippets.

View ianlewis's full-sized avatar
👷‍♂️
Building stuff

Ian Lewis ianlewis

👷‍♂️
Building stuff
View GitHub Profile
@moriyoshi
moriyoshi / test.cpp
Created March 10, 2011 09:11
Recursively traverse directories.
#include <boost/filesystem/convenience.hpp>
#include <boost/foreach.hpp>
#include <boost/range.hpp>
#include <iostream>
int main(int, char**)
{
namespace bf = boost::filesystem;
BOOST_FOREACH(bf::path path,
boost::make_iterator_range(