17 #ifndef IOX_HOOFS_CXX_ALGORITHM_HPP
18 #define IOX_HOOFS_CXX_ALGORITHM_HPP
21 #include <type_traits>
34 constexpr T max(
const T& left) noexcept;
44 constexpr T max(
const T& left,
const T& right) noexcept;
53 template <
typename T,
typename... Targs>
54 constexpr T max(
const T& left,
const T& right,
const Targs&... args) noexcept;
63 constexpr T min(
const T& left) noexcept;
73 constexpr T min(
const T& left,
const T& right) noexcept;
82 template <
typename T,
typename... Targs>
83 constexpr T min(
const T& left,
const T& right,
const Targs&... args) noexcept;
89 template <
typename T,
typename CompareType>
90 constexpr
bool doesContainType() noexcept;
96 template <typename T, typename CompareType, typename Next, typename... Remainder>
97 constexpr
bool doesContainType() noexcept;
102 template <typename T>
103 inline constexpr
bool doesContainValue(const T) noexcept;
111 template <typename T, typename... ValueList>
112 inline constexpr
bool
113 doesContainValue(const T value, const T firstValueListEntry, const ValueList... remainingValueListEntries) noexcept;
121 template <typename Container>
122 Container uniqueMergeSortedContainers(const Container& v1, const Container& v2) noexcept;
126 #include "iceoryx_hoofs/internal/cxx/algorithm.inl"
building block to easily create free function for logging in a library context
Definition: lockfree_queue.hpp:29