I'm porting PROJ4.3.3 (the cleanest version of proj I could find), and
it's a little ugly.

One thing leading to another, I am currently centralizing constants, and
found that enums can hold doubles (which is quite nice), but I have no
way of defining NaN or Inf as a constant, is there such a way?

Or is there a way to evaluate constant functions at compile time (eep)?

Or I could just use #define (much safer than the above).

enjoy,
tristan

-- 
All original matter is hereby placed immediately under the public domain.

Reply via email to