cpp-netlib/cpp-netlib — pull request #223 by mistafunk (2013-03-20 22:05:11+00:00)
Title: suggested change to avoid msvc iterator check assertions in uri parser

this is a suggestion for a fix to avoid triggering iterator check assertions when parsing "non complete" uris on windows in debug mode with "checked iterators" enabled.

the basic issue is that in case of a missing element (e.g. host) an empty iterator_range with default-constructed iterators is inserted. default iterators are initialized to "singular" values which trigger microsofts iterator checks.