Skip to content

Instantly share code, notes, and snippets.

View peterallin's full-sized avatar

Peter Allin peterallin

View GitHub Profile
@peterallin
peterallin / tt.cpp
Last active May 7, 2020 06:21
Template template example
template<template<typename, typename> typename T1, typename T2>
class Foo
{
T1<int, float> t1a;
T1<int, int> t1b;
T2 t2;
};
template<typename T1, typename T2>
struct Bar

Keybase proof

I hereby claim:

  • I am peterallin on github.
  • I am peterallin (https://keybase.io/peterallin) on keybase.
  • I have a public key ASDAbXXsx5NIMW7ONms4aAFEbRUVP31FG7I-oCJnzH-fzAo

To claim this, I am signing this object: