Use arg_iterator and arg_begin and arg_end functions.