Skip to content

Commit

Permalink
veg: Remove custom declval for C++ 11 and C++ 14
Browse files Browse the repository at this point in the history
  • Loading branch information
jorisv committed Jan 4, 2024
1 parent 22b8964 commit 75b933c
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions include/proxsuite/linalg/veg/internal/macros.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -128,12 +128,7 @@
#define VEG_HAS_CONCEPTS 0
#endif

#if defined(VEG_WITH_CXX17_SUPPORT)
#define VEG_DECLVAL(...) (std::declval<__VA_ARGS__>())
#else
#define VEG_DECLVAL(...) \
(::proxsuite::linalg::veg::_detail::_meta::declval<__VA_ARGS__>())
#endif

#if defined(__clang__)
#define VEG_ARROW(...) \
Expand Down Expand Up @@ -666,9 +661,6 @@ struct unref<T&>
using type = T;
};

template<typename T>
auto
declval() VEG_ALWAYS_NOEXCEPT->T;
} // namespace _meta
} // namespace _detail

Expand Down

0 comments on commit 75b933c

Please sign in to comment.