Boost logo

Boost Users :

From: Erik Thiele (erik_at_[hidden])
Date: 2004-07-02 03:04:12


hi,

i have a userdefined type "foobar". it has a special value that means
"undefined". is there a standard way to specify which value is
undefined? i do not want to use boost::optional here, as foobar itself
can be "undefined". you know:

class foobar {
  static const foobar undefined(blablabla);
  
  int a,b,c;
}

but is this "standard"?

cya
erik

-- 
Erik Thiele

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net