jeaye/stdman

operators could use better naming to be more accessible

jeaye opened this issue · 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.