[ox/std] Replace ox::ignore with std::ignore
This commit is contained in:
parent
abc076d657
commit
6808adc8a1
9
deps/ox/src/ox/std/ignore.hpp
vendored
9
deps/ox/src/ox/std/ignore.hpp
vendored
@ -4,10 +4,17 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
namespace ox {
|
#if __has_include(<tuple>)
|
||||||
|
|
||||||
|
#include <tuple>
|
||||||
|
|
||||||
|
#else
|
||||||
|
|
||||||
|
namespace std {
|
||||||
|
|
||||||
inline constexpr struct {
|
inline constexpr struct {
|
||||||
constexpr void operator=(auto&&) const noexcept {}
|
constexpr void operator=(auto&&) const noexcept {}
|
||||||
} ignore;
|
} ignore;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user