- 05 Aug, 2018 4 commits
-
-
Kenton Varda authored
-
Kenton Varda authored
Admittedly this is a strict simplification to the code. VS 2017 is fine either way.
-
Kenton Varda authored
You need to use a different constructor function, `refTuple()`, to opt into references. Otherwise, it's too easy to construct a tuple of references by mistake.
-
Kenton Varda authored
indexOfType<T, Tuple<...>>() searches the Tuple for a member of type T and returns its index. It fails to compile if there is not exactly one match. TypeOfIndex<i, Tuple<...>> evaluates to the type of the Tuple member at the given index.
-
- 11 Jan, 2018 1 commit
-
-
Kenton Varda authored
@kloepper pointed out a while back that every compiler you've ever heard of supports this. Plus, it's more concise, it's not prone to copy-paste errors, and it looks nicer. At the time I wanted to remain consistent and I didn't feel like spending the time to update all my existing code. But, every time I've added a new header since I've cursed the include guard, so I finally broke down and changed it.
-
- 07 Oct, 2016 1 commit
-
-
Kenton Varda authored
-
- 06 Apr, 2016 1 commit
-
-
Harris Hancock authored
-
- 22 Nov, 2014 1 commit
-
-
Kenton Varda authored
This prevents the compiler from reporting warnings in these headers while compiling application code. Hopefully this will stem the never-ending stream of complaints from people who enable pedantic warnings.
-
- 20 Jun, 2014 1 commit
-
-
Kenton Varda authored
For portions currently copyright by Kenton (most of it), transfer copyright to Sandstorm Development Group, Inc. (Kenton's company). The license change is practically meaningless, as MIT and BSD 2-clause are legally equivalent. However, the BSD 2-clause license is sometimes confused for its ugly siblings, BSD 3-clause and BSD 4-clause. The MIT license is more immediately recognizeable for what it is. Rémy Blank and Jason Choy (the two non-trivial contributors) are on record as approving this change: https://groups.google.com/d/msg/capnproto/xXDd2HUOCcc/gbe_COIuXKYJ
-
- 22 Aug, 2013 1 commit
-
-
Kenton Varda authored
Remove some function prototypes that apparently aren't needed and apparently tickle a bug in Clang trunk.
-
- 09 Jul, 2013 1 commit
-
-
Kenton Varda authored
-
- 03 Jul, 2013 1 commit
-
-
Kenton Varda authored
-
- 12 Jun, 2013 1 commit
-
-
Kenton Varda authored
-