File tree Expand file tree Collapse file tree 6 files changed +9
-7
lines changed Expand file tree Collapse file tree 6 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 66/cmake-build- *
77.idea
88.vscode
9+ .cache
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ target_include_directories(safe_arithmetic INTERFACE include)
2121target_link_libraries (safe_arithmetic INTERFACE boost_mp11)
2222
2323if (PROJECT_IS_TOP_LEVEL)
24- clang_tidy_interface(safe_arithmetic)
24+ set (CMAKE_EXPORT_COMPILE_COMMANDS ON )
25+ # clang_tidy_interface(safe_arithmetic)
2526 add_subdirectory (test )
2627endif ()
Original file line number Diff line number Diff line change 99#include < safe/match.hpp>
1010#include < safe/object.hpp>
1111#include < safe/value.hpp>
12- #include < safe/var.hpp>
12+ #include < safe/var.hpp>
Original file line number Diff line number Diff line change 11#pragma once
22
3- #include < cstdint >
3+ #include < cstddef >
44
55namespace safe ::_big_integer::interface {
66template <std::size_t NumBits> struct big_integer ;
7- }
7+ }
Original file line number Diff line number Diff line change 11#pragma once
22
3- #include < type_traits>
4-
53#ifndef SAFE_INLINE
64#define SAFE_INLINE inline
75#endif
@@ -32,7 +30,7 @@ template <typename T> struct unsafe_cast_ferry {
3230 SAFE_INLINE constexpr explicit (true ) unsafe_cast_ferry(T new_value)
3331 : v{new_value} {}
3432
35- [[nodiscard]] SAFE_INLINE constexpr T value () const { return v; }
33+ [[nodiscard]] SAFE_INLINE constexpr auto value () const -> T { return v; }
3634};
3735
3836} // namespace safe
Original file line number Diff line number Diff line change 11#pragma once
22
3+ #include < type_traits>
4+
35namespace safe ::dsl::detail {
46struct binary_op {};
57struct unary_op {};
You can’t perform that action at this time.
0 commit comments