Skip to content

Commit

Permalink
Update single header
Browse files Browse the repository at this point in the history
  • Loading branch information
tcbrindle authored and github-actions[bot] committed Aug 15, 2024
1 parent 7896a3a commit 1f7c0ec
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions single_include/flux.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,17 @@

#include <version>

#define FLUX_VERSION_MAJOR 0
#define FLUX_VERSION_MINOR 0
#define FLUX_VERSION_PATCH 0
#define FLUX_VERSION_DEVEL 1 // 0 => Release, 1 => development post Major.Minor.Patch

#define FLUX_VERSION \
(FLUX_VERSION_MAJOR * 100'000 \
+ FLUX_VERSION_MINOR * 1'000 \
+ FLUX_VERSION_PATCH * 10 \
+ FLUX_VERSION_DEVEL)

#define FLUX_FWD(x) static_cast<decltype(x)&&>(x)

#define FLUX_DECLVAL(...) ((static_cast<__VA_ARGS__(*)()noexcept>(nullptr))())
Expand Down

0 comments on commit 1f7c0ec

Please sign in to comment.