Using std::begin and std::end functions