 <p><strong>edit</strong>: even GCC doesn't let you do this! Corrected.</p> <p>In general, no. You could hack together a macro using <code>__FILE__</code>, <code>__LINE__</code>, and/or <code>__COUNTER__</code> (the latter being another compiler extension, but supported on GCC and MSVC among others) to name the fields for you, if you <em>really</em> wanted to.</p>