Y
Hacker News
new
|
ask
|
show
|
jobs
by
dorinlazar
1651 days ago
I agree; of course, both clang and gcc extend C++ with __restrict__ if I remember correctly; from what I know, there are more things that can be done in C++ to improve over C than the other way around.
1 comments
khoobid_shoma
1650 days ago
IIRC, __restrict__ in clang and g++ does nothing when you write C++ code. It is there just for compatibility with C.
link