Skip to content

Commit

Permalink
Make std::expected feature check compatible with C++17
Browse files Browse the repository at this point in the history
  • Loading branch information
jb-gcx committed Apr 2, 2024
1 parent d180294 commit 74334f0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions support-lib/cpp/expected.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
#pragma once

#ifdef __has_include
#if __has_include(<version>)
#include <version>
#endif
#endif

#ifdef __cpp_lib_expected

Expand Down

0 comments on commit 74334f0

Please sign in to comment.