/c.cpp Secret
Created
February 26, 2018 20:33
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
struct Z { }; | |
template<class P> | |
struct S { }; | |
struct E { }; | |
template<class P> | |
struct Double { typedef E v; }; | |
template<> | |
struct Double<Z> { typedef Z v; }; | |
template<class P> | |
struct Double<S<P> > { typedef S<S<typename Double<P>::v> > v; }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment