Files
nostalgia/deps/ox/src/ox/std/ignore.hpp

25 lines
451 B
C++

/*
* Copyright 2015 - 2025 gary@drinkingtea.net
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/
#pragma once
#if __has_include(<tuple>)
#include <tuple>
#else
namespace std {
inline constexpr struct ignore_t {
constexpr void operator=(auto&&) const noexcept {}
} ignore;
}
#endif