usability tweaks: functions that return iterators return them as *const* to allow chaining when the recipient function expects a reference (e.g. foo(Iter&) )

[SVN r35940]
This commit is contained in:
Joel de Guzman committed 2006-11-09 01:48:46 +00:00
1 parent 4b061d2716
commit c621277c07
7 files changed
+11 -11

No files matched your search

+1 -1
View File
@@ -54,7 +54,7 @@ namespace boost { namespace fusion
}
template <typename Iterator>
typename result_of::next<Iterator>::type
typename result_of::next<Iterator>::type const
next(Iterator const& i)
{
return result_of::next<Iterator>::call(i);