Skip to content

Commit 5f490df

Browse files
authored
Adding glz::async_shared_vector (#1470)
1 parent 23a1156 commit 5f490df

File tree

4 files changed

+842
-16
lines changed

4 files changed

+842
-16
lines changed

include/glaze/thread/shared_async_map.hpp

+1-16
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
#include <vector>
1111

1212
#include "glaze/util/expected.hpp"
13+
#include "glaze/thread/value_proxy.hpp"
1314

1415
// Provides a semi-safe flat map
1516
// This shared_async_map only provides thread safety when inserting/deletion
@@ -599,19 +600,3 @@ namespace glz
599600
}
600601
};
601602
}
602-
603-
namespace glz::detail
604-
{
605-
template <class T>
606-
concept is_value_proxy = requires { T::glaze_value_proxy; };
607-
608-
template <is_value_proxy T>
609-
struct from<JSON, T>
610-
{
611-
template <auto Opts>
612-
static void op(auto&& value, is_context auto&& ctx, auto&& it, auto&& end)
613-
{
614-
read<JSON>::op<Opts>(value.value(), ctx, it, end);
615-
}
616-
};
617-
}

0 commit comments

Comments
 (0)