Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You can get this with clang's vector extension (https://clang.llvm.org/docs/LanguageExtensions.html#vectors-...), and this would make a lot of sense to add to the C standard.

IMHO vector math is about the only place where operator overloading is acceptable in C++.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: