@@ -4144,9 +4144,9 @@ void run_all(const C& c, std::size_t iters, const char* cname)
41444144
41454145 const VT zero (0 );
41464146 const VT min1 (-1 );
4147- const VT quart ((int )c.size () / 4 );
4148- const VT half ((int )c.size () / 2 );
4149- const VT threequart ((int )c.size () / 2 );
4147+ const VT quart ((int )c.size ()/ 4 );
4148+ const VT half ((int )c.size ()/ 2 );
4149+ const VT threequart ((int )c.size ()* 3 / 4 );
41504150
41514151 g_geomean.reset ();
41524152 print_subheader ();
@@ -4161,8 +4161,6 @@ void run_all(const C& c, std::size_t iters, const char* cname)
41614161
41624162 // copy
41634163 bench_copy<false >(c, iters, cname, " copy" );
4164-
4165- // copy -> deque output
41664164 bench_copy<true >(c, iters, cname, " copy(2xS)" );
41674165
41684166 // copy_if
@@ -4294,15 +4292,13 @@ void run_all(const C& c, std::size_t iters, const char* cname)
42944292 bench_remove_copy<true >(c, iters, cname, min1, " remove_copy(2xS miss)" );
42954293
42964294 // remove_copy_if
4297- bench_remove_copy_if<false >(c, iters, cname, less_and_greater_ref<VT>(quart, VT ((int )c.size ()*3 /4 )), " remove_copy_if(hit)" );
4295+ bench_remove_copy_if<false >(c, iters, cname, less_and_greater_ref<VT>(quart, threequart), " remove_copy_if(hit)" );
4296+ bench_remove_copy_if<true >(c, iters, cname, less_and_greater_ref<VT>(quart, threequart), " remove_copy_if(2xS hit)" );
42984297 bench_remove_copy_if<false >(c, iters, cname, is_negative<VT>(), " remove_copy_if(miss)" );
4299-
4300- // remove_copy_if -> deque output
4301- bench_remove_copy_if<true >(c, iters, cname, less_and_greater_ref<VT>(quart, VT ((int )c.size ()*3 /4 )), " remove_copy_if(2xS hit)" );
4302- bench_remove_copy_if<true >(c, iters, cname, is_negative<VT>(), " remove_copyif(2xS miss)" );
4298+ bench_remove_copy_if<true >(c, iters, cname, is_negative<VT>(), " remove_copy_if(2xS miss)" );
43034299
43044300 // remove_if
4305- bench_remove_if (c, iters, cname, less_and_greater_ref<VT>(quart, VT (( int )c. size ()* 3 / 4 ) ), " remove_if(hit)" );
4301+ bench_remove_if (c, iters, cname, less_and_greater_ref<VT>(quart, threequart ), " remove_if(hit)" );
43064302 bench_remove_if (c, iters, cname, is_negative<VT>(), " remove_if(miss)" );
43074303
43084304 // replace
0 commit comments