$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-users] [counting_range] why?
From: Robert Jones (robertgbjones_at_[hidden])
Date: 2012-11-28 12:17:38
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( )
{
// Ok
auto r = boost::counting_range( 0, 3 );
// Not Ok.
auto s = boost::counting_range<int>( 0, 3 );
}