On Wed, Nov 28, 2012 at 9:17 AM, Robert Jones <robertgbjones@gmail.com> wrote:Ok, maybe I'm having a senior moment here, but why is the second line wrong?Thx, Rob.#include <boost/range/counting_range.hpp>int main( ){// Okauto r = boost::counting_range( 0, 3 );// Not Ok.auto s = boost::counting_range<int>( 0, 3 );}
Looks okay to me. How is it wrong? Compiler error? What compiler, what version of Boost, and what's the error?