Feature/compatibilities gcc14 clang14 vcpkg (#124)

This commit is contained in:
Manuel Bellersen
2024-06-27 11:20:51 +02:00
committed by GitHub
parent 1ce78479ac
commit c3db8321b3
376 changed files with 121 additions and 495 deletions
+2 -13
View File
@@ -3,21 +3,11 @@
#include <msgpack.h>
#include <array>
#include <concepts>
#include <exception>
#include <map>
#include <memory>
#include <source_location>
#include <sstream>
#include <stdexcept>
#include <string>
#include <string_view>
#include <type_traits>
#include <unordered_map>
#include <vector>
#include "../Box.hpp"
#include "../Result.hpp"
#include "../always_false.hpp"
@@ -30,9 +20,8 @@ struct Reader {
using InputVarType = msgpack_object;
template <class T>
static constexpr bool has_custom_constructor = (requires(InputVarType var) {
T::from_msgpack_obj(var);
});
static constexpr bool has_custom_constructor =
(requires(InputVarType var) { T::from_msgpack_obj(var); });
rfl::Result<InputVarType> get_field_from_array(
const size_t _idx, const InputArrayType _arr) const noexcept {