Fix order of includes for Spirit scheme example. Changed iterator_range.size()

to use std::distance instead of subtracting iterators, this allows it to work
with iterators other than random access. Added more utree docs to Spirit.



[SVN r67153]
This commit is contained in:
Bryce Adelstein-Lelbach
2010-12-10 20:04:30 +00:00
parent 9e48730a0e
commit 4b96ce34aa

View File

@ -230,7 +230,7 @@ namespace boost
difference_type size() const
{
return m_End - m_Begin;
return std::distance(m_End, m_Begin);
}
bool empty() const