Martin T.
2009-09-22 08:17:12 UTC
Hi all.
sizeof(T) is calculated at compile time.
However, the only way to get at the numeric value of sizeof(T) I've
found so far is to add a codeline int x = sizeof(T); and then check x in
the watch window.
Is it somehow possible to let sizeof(T) be evaluated by the debugger (or
even better display the value the compiler generates?)
cheers,
Martin
sizeof(T) is calculated at compile time.
However, the only way to get at the numeric value of sizeof(T) I've
found so far is to add a codeline int x = sizeof(T); and then check x in
the watch window.
Is it somehow possible to let sizeof(T) be evaluated by the debugger (or
even better display the value the compiler generates?)
cheers,
Martin