cofyc/argparse

convert opt->value to union (currently it's is void *)

ydm opened this issue · 0 comments

ydm commented

Converting the argparse_option::value to a union, containing int, float, etc would save a lot of ugly type casts argparse_getvalue().