gambit is hosted by Hepforge, IPPP Durham
GAMBIT  v1.5.0-2191-ga4742ac
a Global And Modular Bsm Inference Tool
safebool.hpp
Go to the documentation of this file.
1 // GAMBIT: Global and Modular BSM Inference Tool
2 // *********************************************
31 
32 #pragma once
33 
34 namespace Gambit
35 {
36 
37  class SafeBool
38  {
39  bool _ok;
40  public:
41  explicit SafeBool(bool ok): _ok(ok) {}
42  explicit operator bool() const { return _ok; }
43  };
44 
45 }
SafeBool(bool ok)
Definition: safebool.hpp:41
TODO: see if we can use this one:
Definition: Analysis.hpp:33