stdman icon indicating copy to clipboard operation
stdman copied to clipboard

operators could use better naming to be more accessible

Open jeaye opened this issue 11 years ago • 0 comments

Currently, bash will really get in the way when typing the operator names. For example:

$ man operator+,operator-(std::time_point)
bash: syntax error near unexpected token `(`

The current solution is to quote operators entirely.

$ man "operator+,operator-(std::time_point)"

A better solution could be made that just uses common short names for the operators, like operator lt, operator shr, et cetera.

jeaye avatar Apr 20 '14 22:04 jeaye