4 ms·
It's to avoid having to write out complex types that the compiler already knows about. It's particularly useful with generic code that makes heavy use of templ
by beojan 8y ago
It's to avoid having to write out complex types that the compiler already knows about.
It's particularly useful with generic code that makes heavy use of templates, or code that uses iterators. In these cases, it just isn't that useful for the reader to know the exact type.