Gecode::FlatZinc::Option< Val > Struct Template Reference
Optional value. More...
#include <option.hh>
Public Member Functions | |
bool | operator() (void) const |
const Val & | some (void) const |
Val & | some (void) |
Static Public Member Functions | |
static Option< Val > | none (void) |
static Option< Val > | some (const Val &v) |
Detailed Description
template<class Val>
struct Gecode::FlatZinc::Option< Val >
Optional value.
Definition at line 41 of file option.hh.
Member Function Documentation
template<class Val>
bool Gecode::FlatZinc::Option< Val >::operator() | ( | void | ) | const [inline] |
template<class Val>
const Val& Gecode::FlatZinc::Option< Val >::some | ( | void | ) | const [inline] |
template<class Val>
Val& Gecode::FlatZinc::Option< Val >::some | ( | void | ) | [inline] |
template<class Val>
static Option<Val> Gecode::FlatZinc::Option< Val >::none | ( | void | ) | [inline, static] |
template<class Val>
static Option<Val> Gecode::FlatZinc::Option< Val >::some | ( | const Val & | v | ) | [inline, static] |
The documentation for this struct was generated from the following file:
- gecode/flatzinc/option.hh