Skip to content

Instantly share code, notes, and snippets.

View JamesMcNellis's full-sized avatar

James McNellis JamesMcNellis

  • Roblox
  • United States
View GitHub Profile
### Keybase proof
I hereby claim:
* I am jamesmcnellis on github.
* I am jamesmcnellis (https://keybase.io/jamesmcnellis) on keybase.
* I have a public key ASCtkI3odw4w95XE0_nTKHSqerwLA_9EC1SNKIqelxTumwo
To claim this, I am signing this object:
// Type-safe varargs with C++11 variadic templates.
//
// Andreas Fredriksson <deplinenoise at gmail dott com>
//
// This code is in the public domain.
#include <stdio.h>
#include <stdarg.h>
// Copyright James P. McNellis 2013. //
// Distributed under the Boost Software License, Version 1.0. //
// (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) //
#include <algorithm>
#include <cctype>
#include <cstdio>
#include <map>
#include <memory>
#include <string>
@JamesMcNellis
JamesMcNellis / gist:2856084
Created June 2, 2012 01:33
Bill Teh Lizard's Challenge
#include <algorithm>
#include <array>
#include <functional>
#include <iostream>
#include <iterator>
#include <numeric>
#include <vector>
typedef std::array<int, 9> result;
typedef std::vector<result> results;