Skip to content

Instantly share code, notes, and snippets.

@picanumber
Created December 18, 2016 20:50
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 picanumber/e968c345b13a2af24dfd13df34c3706d to your computer and use it in GitHub Desktop.
Save picanumber/e968c345b13a2af24dfd13df34c3706d to your computer and use it in GitHub Desktop.
Bivariate predicate example
template <class T1, class T2>
using is_smaller = std::integral_constant<bool, sizeof(T1) < sizeof(T2)>;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment