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