diff options
Diffstat (limited to 'odb/option-types.hxx')
-rw-r--r-- | odb/option-types.hxx | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/odb/option-types.hxx b/odb/option-types.hxx index 7da346f..de3bdb7 100644 --- a/odb/option-types.hxx +++ b/odb/option-types.hxx @@ -11,6 +11,29 @@ using semantics::relational::qname; +struct cxx_version +{ + enum value + { + cxx98, + cxx11 + }; + + cxx_version (value v = value (0)) : v_ (v) {} + operator value () const {return v_;} + + const char* + string () const; + +private: + value v_; +}; + +std::istream& +operator>> (std::istream&, cxx_version&); + +// +// struct database { enum value |