diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2022-03-01 15:12:13 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2022-03-01 15:24:18 +0200 |
commit | a3592b51221a614de21aad20eeed69d8d13e83a8 (patch) | |
tree | 519a7de72cada5b05166027c0d0668e794052901 /odb/option-types.cxx | |
parent | 6ea17df5b44c6098099cb2276bc5ed0336276074 (diff) |
Add support for --std=c++20
Diffstat (limited to 'odb/option-types.cxx')
-rw-r--r-- | odb/option-types.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/odb/option-types.cxx b/odb/option-types.cxx index aac0288..c4a030b 100644 --- a/odb/option-types.cxx +++ b/odb/option-types.cxx @@ -18,7 +18,8 @@ static const char* cxx_version_[] = "c++98", "c++11", "c++14", - "c++17" + "c++17", + "c++20" }; string cxx_version:: @@ -43,6 +44,8 @@ operator>> (istream& is, cxx_version& v) v = cxx_version::cxx14; else if (s == "c++17") v = cxx_version::cxx17; + else if (s == "c++20") + v = cxx_version::cxx20; else is.setstate (istream::failbit); } |