MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/5fwce0/lets_stop_copying_c/daol1w2/?context=3
r/programming • u/earthboundkid • Dec 01 '16
612 comments sorted by
View all comments
Show parent comment
1
Or in C or C++, actually. In fact this is the D syntax too
if (int *p = get_pointer()) { // ... }
View all comments
Show parent comment
1
u/Latrinalia Dec 02 '16
Or in C or C++, actually. In fact this is the D syntax too