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

PolyCollection

48 views
Skip to first unread message

woodb...@gmail.com

unread,
Feb 17, 2018, 8:49:07 PM2/17/18
to
I'm thinking about adding serialization support for
this PolyCollection library:
http://www.boost.org/doc/libs/1_66_0/doc/html/poly_collection.html

to the C++ Middleware Writer:
https://github.com/Ebenezer-group/onwards

. One thing I'd like to know is how many of the applications
that you have worked on, which used runtime polymorphism,
could have benefited from PolyCollection? Keeping in mind that
PolyCollection imposes it's own ordering of objects added to it.

And is it too early/late to suggest that this library be
added to the standard? Thanks in advance.


Brian
Ebenezer Enterprises - Enjoying programming again.
http://webEbenezer.net

woodb...@gmail.com

unread,
Mar 20, 2018, 1:05:38 PM3/20/18
to
On Saturday, February 17, 2018 at 7:49:07 PM UTC-6, woodb...@gmail.com wrote:
> I'm thinking about adding serialization support for
> this PolyCollection library:
> http://www.boost.org/doc/libs/1_66_0/doc/html/poly_collection.html
>
> to the C++ Middleware Writer:
> https://github.com/Ebenezer-group/onwards
>
> . One thing I'd like to know is how many of the applications
> that you have worked on, which used runtime polymorphism,
> could have benefited from PolyCollection? Keeping in mind that
> PolyCollection imposes it's own ordering of objects added to it.
>
> And is it too early/late to suggest that this library be
> added to the standard? Thanks in advance.
>
>
I've made some progress on this now and have checked in
support for base_collection here:
https://github.com/Ebenezer-group/onwards
https://github.com/Ebenezer-group/onwards/tree/master/poly

Here's some code generated by the C++ Middleware Writer :
https://github.com/Ebenezer-group/onwards/blob/master/poly/zz.testing.hh

based on these two input files:
https://github.com/Ebenezer-group/onwards/blob/master/poly/testing.hh
https://github.com/Ebenezer-group/onwards/blob/master/poly/testing.mdl

Thanks a lot to Joaquín López Muñoz, the author of the PolyCollection
library, for answering a number of questions I had.


Brian
Ebenezer Enterprises - In G-d we trust.
http://webEbenezer.net

0 new messages