Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

qualify boost::range_[const|mutable]_iterator #40

Merged
merged 1 commit into from Nov 5, 2015

Conversation

treh
Copy link
Contributor

@treh treh commented Nov 4, 2015

Dear Neil,

boost::has_range_iterator
currently “calls” boost::range_detail::has_range_iterator_impl,
which in turn “calls” range_mutable_iterator.
Due to the namespace being in, this boils down to boost::range_detail::range_mutable_iterator
and not boost::range_mutable_iterator.
I expected the latter, because otherwise specializing this function as described in http://www.boost.org/doc/libs/1_59_0/libs/range/doc/html/range/reference/extending/method_2.html has no effect.

Tobi

otherwise boost::range_detail::range_[const|mutable]_iterator gets accidentily called
@treh
Copy link
Contributor Author

treh commented Nov 5, 2015

neilgroves added a commit that referenced this pull request Nov 5, 2015
qualify boost::range_[const|mutable]_iterator
@neilgroves neilgroves merged commit e7ebe14 into boostorg:develop Nov 5, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants