On Fri, Aug 30, 2013 at 1:22 PM, Colin Guthrie <gm...@colin.guthr.ie> wrote:
> 'Twas brillig, and David Herrmann at 30/08/13 14:50 did gyre and gimble:
>> +        subsystem = subsystem ? : "";
>> +
>
> zomg!!11eleven! This makes perfect sense but somehow this is the first
> time I've seen this syntax before where the value between ? and : is
> inherited from the test itself... nice!

this is an extension: http://gcc.gnu.org/onlinedocs/gcc/Conditionals.html

As far as I know it's supported both by clang and gcc

Lucas De Marchi
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to