Skip to content

Instantly share code, notes, and snippets.

@deque-blog
Last active October 11, 2017 11:16
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/2d07f0dc0f94a35eeb2893a1475d1855 to your computer and use it in GitHub Desktop.
Save deque-blog/2d07f0dc0f94a35eeb2893a1475d1855 to your computer and use it in GitHub Desktop.
using iterator_t = std::vector<t1>::const_iterator;
// Could be rewritten as:
using iterator_t = std::const_iterator_t<std::vector<t1>>;
// In principle similar to:
auto iterator_t = std::const_iterator_t(std::vector<t1>);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment