Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
flohofwoe
on Jan 13, 2021
|
parent
|
context
|
favorite
| on:
Proposal for C23: Improve type generic programming...
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:
IMHO vector math is about the only place where operator overloading is acceptable in C++.