#include <iostream>
int main(void)
{
int a = 3, b = 4;
decltype(a) c = a;
decltype((b)) d = a;
++c;
++d;//unable see a or d become 4?
}
//my english not very good,I hope I can say clear.
GDB-Version:GNU gdb (GDB) 7.5.91.20130417-cvs-ubuntu
CB-Version:
Edit: Removed large image, please use image hosting services for large images to save forum space and our bandwidth. Thank you.
2013-8-6,23:02:26 add:
by supply a
-gstabs+ option to gcc,then this problem is resolved.