[fdo-users] My FDO Toolbox presentation from FOSS4G online

john spitzer john.spitzer at gmail.com
Sun Nov 8 18:50:25 EST 2009


Talking about const correctness. If you don't like it that way there
is always the old reverse the conditional's order i.e.

void foo(int DEVCON)
{
       if (1=DEVCON) //< FLAGGED AS COMPILER BUG! WORLD SAVED!
  {
       fire_missiles();
   }

}

On Mon, Nov 9, 2009 at 9:59 AM, Jackie Ng <jumpinjackie at gmail.com> wrote:
> Hi All,
> For those of you who could not attend FOSS4G 2009, my presentation on FDO
> Toolbox is now online.
> http://themapguyde.blogspot.com/2009/11/my-foss4g-presentation-recorded-and.html
>
> Many thanks to the folks from FOSSLC for recording this (and many other
> presentations) at the event.
> - Jackie
> --
> Blog: http://themapguyde.blogspot.com
> LinkedIn: http://www.linkedin.com/in/jackieng
> Twitter: http://twitter.com/jumpinjackie
>
> Why const correctness is good:
>
> void foo(const int DEFCON)
> {
>   if (DEFCON = 1)     //< FLAGGED AS COMPILER BUG! WORLD SAVED!
>   {
>       fire_missiles();
>   }
> }
>
>
> _______________________________________________
> fdo-users mailing list
> fdo-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/fdo-users
>
>


More information about the fdo-users mailing list