fix constness issues related to the method arguments variadic template expanded to template some containers

fix issue #10