Skip to content

Instantly share code, notes, and snippets.

@deque-blog
Last active October 9, 2017 11:15
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 deque-blog/2fa5b59e764cfd17bb41092229c0c296 to your computer and use it in GitHub Desktop.
Save deque-blog/2fa5b59e764cfd17bb41092229c0c296 to your computer and use it in GitHub Desktop.
//Clearly not injective
using result_t = std::common_type_t<t1, t2>;
//Most likely injective
using iterator_t = std::const_iterator_t<std::vector<T>>;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment