Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Serialization support for std::span added to CMW

10 views
Skip to first unread message

woodb...@gmail.com

unread,
Aug 2, 2019, 9:39:37 PM8/2/19
to
Shalom

I've added serialization support for std::span to the C++
Middleware Writer(CMW). The CMW is an on-line code
generator that outputs low-level marshalling code based
on high-level input.

I support serializing from spans similar to string_view.
This Middle Code*

-out (::std::span<::int32_t>)

is fine, but this:

-in (::std::span<::int32_t>)

results in an error from the code generator. One way to fix
the error is to write:

-in (::std::vector<::int32_t>)
.
If you're interested, I'll post code generated by the CMW
wrt std::span.

* https://github.com/Ebenezer-group/onwards/blob/master/doc/middleFiles



Brian
Ebenezer Enterprises - Enjoying programming again.
https://github.com/Ebenezer-group/onwards
0 new messages