On Friday 01 February 2008 15:41:34 Andy Lester wrote:
> > Any reason not to write:
> >
> > PMC *result = PMC_IS_NULL(lex_pad) ? NULL : VTABLE...;
> No reason in my book, but I got a general anti-ternary vibe in the
> past from the p2 crew.
Anything that gets us an extra const *and* limits t
Any reason not to write:
PMC *result = PMC_IS_NULL(lex_pad) ? NULL : VTABLE...;
This assignment seems like a simple case, and you get a nice const
opportunity
for free.
No reason in my book, but I got a general anti-ternary vibe in the
past from the p2 crew.
--
Andy Lester =>
On Friday 01 February 2008 15:34:35 [EMAIL PROTECTED] wrote:
> Author: petdance
> Date: Fri Feb 1 15:34:35 2008
> New Revision: 25412
>
> Modified:
>trunk/src/ops/var.ops
>
> Log:
> consting
>
> Modified: trunk/src/ops/var.ops
> --- trunk/src/ops/var.ops (original)
> +++ trunk/src/ops/va