geode-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Hanson <>
Subject [Vote] Better type checking by moving PdxWrapper from a standard class to a template class.
Date Thu, 21 Sep 2017 17:19:13 GMT
Hi All,

In reviewing the PdxWrapper class it, it seemed like it would be a good
move to make this a template class. This will allow better type checking
anytime we use it.

An example of what is being planned is to change from

MyClass object;
PdxWrapper((void *) object,...)
to PdxWrapper<MyClass>(object, ....)

I have a chunk of code moved over that seems to show it is possible, though
there are some bugs that need to be addressed, so it is not a done deal.

What do people think?


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message