How to perform Embedded Memory management in conversion?

How to perform Embedded Memory management in conversion?

We have C++ template types which can lay out data structures to the bit same as Ada compiler as specified in the Ada representation clauses