disignated array initializer ... 이 좋은 걸 왜 몰랐을까...


(ㄴㅂㄷㄱㄷㄱ) #1

https://gcc.gnu.org/onlinedocs/gcc-4.1.2/gcc/Designated-Inits.html

int a[6] = { [1] = v1, v2, [4] = v4 };

광광 우럭따 ㅠㅜ


(바보털) #2

http://en.cppreference.com/w/cpp/language/structured_binding

이런것도 좋아하실듯?


(ㄴㅂㄷㄱㄷㄱ) #3

auto 붙더니 날라댕기네요