mods to boost range

match [pull](https://github.com/smanders/boost-trunk/pull/3) to boost-trunk (an svn mirror)