C++ support? Re: PATCH: named address space support

Ben Elliston bje@au1.ibm.com
Wed Aug 20 14:05:00 GMT 2008


> In fact, we'd be pretty interested in a C++ extension of this feature;
> unfortunately, there doesn't seem to exist an already worked-out 
> definition of language extension syntax/semantics for named address
> spaces for C++ equivalent to the C version in TR 18037.

Based on previous experience with C extensions (namely DFP), my guess is
that the C++ standards committee would like to see this implemented in
the standard library (for example, as a templated type).  Something like
`__ea<int *> i'?

Ben




More information about the Gcc-patches mailing list