This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: A little bit of C fun...


On Wed, Oct 22, 2008 at 15:37, John Carter <john.carter@tait.co.nz> wrote:
> On Wed, 22 Oct 2008, me22 wrote:
>
>> Use the preprocessor.  Otherwise you can't get braces inside parens.
>
> Nope. I didn't use preprocessor. But warped kudos to you for thinking
> of it.
>

Say, what about -std=gnu++0x?  Then the braces can be an initializer list...


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]