Hacker News new | ask | show | jobs
by kps 1079 days ago
Maybe C++26 will let us write operator·() and operator×().
1 comments

In C++34 we'll finally have a way of overloading the empty string operator, so that we can, at last, write AB for the product of matrices A and B. As God intended.
Stroustrup, B. (1998, April 1) Generalizing Overloading for C++2000. AT&T Labs. https://www.stroustrup.com/whitespace98.pdf