diff --git a/deps/ox/src/ox/std/CMakeLists.txt b/deps/ox/src/ox/std/CMakeLists.txt index 32cdf7c1..0c1ad783 100644 --- a/deps/ox/src/ox/std/CMakeLists.txt +++ b/deps/ox/src/ox/std/CMakeLists.txt @@ -113,6 +113,7 @@ install( memory.hpp new.hpp optional.hpp + pair.hpp point.hpp random.hpp ranges.hpp diff --git a/deps/ox/src/ox/std/pair.hpp b/deps/ox/src/ox/std/pair.hpp new file mode 100644 index 00000000..d7424de6 --- /dev/null +++ b/deps/ox/src/ox/std/pair.hpp @@ -0,0 +1,19 @@ +/* + * Copyright 2015 - 2024 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 + +namespace ox { + +template +struct Pair { + T a{}; + U b{}; +}; + +} \ No newline at end of file diff --git a/deps/ox/src/ox/std/std.hpp b/deps/ox/src/ox/std/std.hpp index a88416dd..85cbc879 100644 --- a/deps/ox/src/ox/std/std.hpp +++ b/deps/ox/src/ox/std/std.hpp @@ -35,6 +35,7 @@ #include "memory.hpp" #include "new.hpp" #include "optional.hpp" +#include "pair.hpp" #include "point.hpp" #include "random.hpp" #include "realstd.hpp"