[ox/std] Add ox::ignore
This commit is contained in:
parent
6a52319156
commit
af7c89564c
1
deps/ox/src/ox/std/CMakeLists.txt
vendored
1
deps/ox/src/ox/std/CMakeLists.txt
vendored
@ -103,6 +103,7 @@ install(
|
||||
hardware.hpp
|
||||
hashmap.hpp
|
||||
heapmgr.hpp
|
||||
ignore.hpp
|
||||
iterator.hpp
|
||||
math.hpp
|
||||
memops.hpp
|
||||
|
13
deps/ox/src/ox/std/ignore.hpp
vendored
Normal file
13
deps/ox/src/ox/std/ignore.hpp
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
/*
|
||||
* Copyright 2016 - 2024 Gary Talent (gary@drinkingtea.net). All rights reserved.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
namespace ox {
|
||||
|
||||
inline constexpr struct {
|
||||
constexpr void operator=(auto&&) const noexcept {}
|
||||
} ignore;
|
||||
|
||||
}
|
1
deps/ox/src/ox/std/std.hpp
vendored
1
deps/ox/src/ox/std/std.hpp
vendored
@ -25,6 +25,7 @@
|
||||
#include "hardware.hpp"
|
||||
#include "hashmap.hpp"
|
||||
#include "heapmgr.hpp"
|
||||
#include "ignore.hpp"
|
||||
#include "iterator.hpp"
|
||||
#include "math.hpp"
|
||||
#include "memops.hpp"
|
||||
|
Loading…
Reference in New Issue
Block a user