Skip to content

Instantly share code, notes, and snippets.

@deque-blog
Created October 6, 2017 10:49
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/cd0535422f7122d2827a5a7a20924337 to your computer and use it in GitHub Desktop.
Save deque-blog/cd0535422f7122d2827a5a7a20924337 to your computer and use it in GitHub Desktop.
template<typename T>
void f(Container<T> const& cont)
{
Container<T>::const_iterator it = ...; //Ambiguous (and will not compile)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment