The interface to C++ makes use of the following pragmas, which are primarily intended to be constructed automatically using a binding generator tool, although it is possible to construct them by hand. No suitable binding generator tool is supplied with GNAT though.
Using these pragmas it is possible to achieve complete inter-operability between Ada tagged types and C++ class definitions. See Implementation Defined Pragmas, for more details.
pragma CPP_Class ([Entity =>] LOCAL_NAME
CPP_Class is currently obsolete. It is supported
for backward compatibility but its functionality is available
pragma CPP_Constructor ([Entity =>] LOCAL_NAME
Import) as corresponding to a C++ constructor.