range constructor changed using C++11 standard