Quickbook: Merge from trunk.

Includes blocks in lists fixes, and some documentation changes.


[SVN r77347]
This commit is contained in:
Daniel James
2012-03-16 08:48:10 +00:00
parent a14df5dbca
commit 3dbbb2140f

View File

@ -118,13 +118,13 @@ namespace boost {
// operator[] // operator[]
reference operator[](size_type i) reference operator[](size_type i)
{ {
BOOST_ASSERT( i < N && "out of range" ); BOOST_ASSERT_MSG( i < N, "out of range" );
return elems[i]; return elems[i];
} }
const_reference operator[](size_type i) const const_reference operator[](size_type i) const
{ {
BOOST_ASSERT( i < N && "out of range" ); BOOST_ASSERT_MSG( i < N, "out of range" );
return elems[i]; return elems[i];
} }