This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### 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: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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; |