Skip to content

Instantly share code, notes, and snippets.

@minamiyama1994
Created February 5, 2014 05:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save minamiyama1994/8817996 to your computer and use it in GitHub Desktop.
Save minamiyama1994/8817996 to your computer and use it in GitHub Desktop.
case_ < char >::of
<
match < char , long > ,
match < short , int > ,
match < int , short > ,
match < long , char > ,
match < list < pattern < 0 > , double > , list < double , pattern < 0 > > >
>::type // => long
case_ < list < float , double > >::of
<
match < char , long > ,
match < short , int > ,
match < int , short > ,
match < long , char > ,
match < list < pattern < 0 > , double > , list < double , pattern < 0 > > >
>::type // => list < double , float >
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment