Topic: bad pointer conversions


Author: REH <spamjunk@stny.rr.com>
Date: Thu, 12 Mar 2009 11:19:42 CST
Raw View
The C standard makes invalid pointer conversions undefined behavior,
but the C++ standard makes them unspecified. Is there a reason what C+
+ is different in this regard? Just curious...

--
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@netlab.cs.rpi.edu]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.comeaucomputing.com/csc/faq.html                      ]