server-bindings: convertForMessage utility
Some C++ types, such as enumerations, need some conversion
before they can be added to a message. Provide a global
utility which passes a C++ reference unchanged, which can
be used in all server-bindings.
Specific C++ types that need conversion will provide their
own override of this in their own namespace/class.
"Argument dependent lookup" rules will allow the override to
be used where appropriate.
Change-Id: I0e9f64974ea12093c1b67f28847da4696fa85f61
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2 files changed