Boost logo

Boost Users :

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


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"?


Erik Thiele

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at