@@ -141,19 +141,6 @@ struct ReadDestUpdate
141
141
Value& m_value;
142
142
};
143
143
144
- template <size_t size, typename Input, typename ReadDest>
145
- decltype (auto ) CustomReadField(TypeList<unsigned char [size]>,
146
- Priority<1 >,
147
- InvokeContext& invoke_context,
148
- Input&& input,
149
- ReadDest&& read_dest)
150
- {
151
- return read_dest.update ([&](auto & value) {
152
- auto data = input.get ();
153
- memcpy (value, data.begin (), size);
154
- });
155
- }
156
-
157
144
template <typename Interface, typename Impl>
158
145
std::unique_ptr<Impl> MakeProxyClient (InvokeContext& context, typename Interface::Client&& client)
159
146
{
@@ -306,17 +293,6 @@ void CustomBuildField(TypeList<LocalType>, Priority<1>, InvokeContext& invoke_co
306
293
{
307
294
}
308
295
309
- template <typename Output, size_t size>
310
- void CustomBuildField (TypeList<const unsigned char *>,
311
- Priority<3 >,
312
- InvokeContext& invoke_context,
313
- const unsigned char (&value)[size],
314
- Output&& output)
315
- {
316
- auto result = output.init (size);
317
- memcpy (result.begin (), value, size);
318
- }
319
-
320
296
template <typename ... Values>
321
297
bool CustomHasValue (InvokeContext& invoke_context, Values&&... value)
322
298
{
0 commit comments