Commit 4e91e79a authored by Jan Koniarik's avatar Jan Koniarik
Browse files

fixed merge problems

parents ad07d80e 5024931b
Pipeline #90854 failed with stage
in 37 seconds
......@@ -50,6 +50,13 @@ constexpr int sign(T &&val) {
return 0;
struct convert_to {
template <typename U>
constexpr T operator()(U &&src) const noexcept(noexcept(T{std::forward<U>(src)})) {
return T{std::forward<U>(src)};
/// Marked deprecated on 19.4.2021
template <typename T>
[[deprecated]] constexpr T clamp(T val, T from, T to) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment