|
Boost : |
Subject: [boost] difference_type size()?
From: Olaf van der Spek (ml_at_[hidden])
Date: 2011-10-18 17:30:03
Hi,
iterator_range returns a signed size. Is this correct?
IMO it should return size_t.
boost\range\iterator_range_core.hpp:
difference_type size() const
{
return m_End - m_Begin;
}
Olaf
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk