[cfe-dev] GCC-specific, Clang-specific and ObjC-specific casts in C++

Fariborz Jahanian fjahanian at apple.com
Sat Jul 25 10:19:28 PDT 2009

On Jul 25, 2009, at 9:04 AM, Sebastian Redl wrote:

> 4) Are there formalized Objective-C semantics? Which casts are  
> allowed,
> which are disallowed? Which are implicit, and which, in Objective-C++,
> should be allowed by static_cast and reinterpret_cast respectively?

There is no spec. for Objective-C++ when it comes to c++ specific type- 
syntax. We are pretty much at the mercy of underlying implementation  
in g++.
But as our C++ side of the story progresses, we may want to think   
about this and
spec. out what the rules should be.

- Fariborz

> 5) Did I forget anything?
> Sebastian
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev

More information about the cfe-dev mailing list