Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > C++ > Re: Using speci...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 8 Topic 45810 of 46738
Post > Topic >>

Re: Using special allocator interfaces...

by "Alf P. Steinbach" <alfps@[EMAIL PROTECTED] > May 8, 2008 at 03:24 PM

* Chris Thomasson:
> Does this program produce any undefined-behavior:
> 
> http://pastebin.com/m5eb3c81a
> 
> ?

Yes,

   *pregion = (Region*)0x12348765

is formally UB.


Cheers, & hth.,

- Alf

-- 
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
 




 8 Posts in Topic:
Using special allocator interfaces...
"Chris Thomasson&quo  2008-05-08 06:20:47 
Re: Using special allocator interfaces...
"Alf P. Steinbach&qu  2008-05-08 15:24:33 
Re: Using special allocator interfaces...
"Chris Thomasson&quo  2008-05-08 06:44:06 
Re: Using special allocator interfaces...
"Alf P. Steinbach&qu  2008-05-08 16:00:06 
Re: Using special allocator interfaces...
"Chris Thomasson&quo  2008-05-08 07:30:35 
Re: Using special allocator interfaces...
"Chris Thomasson&quo  2008-05-08 22:03:09 
Re: Using special allocator interfaces...
"Chris Thomasson&quo  2008-05-09 15:34:04 
Re: Using special allocator interfaces...
Daniel Pitts <newsgrou  2008-05-08 08:12:00 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Jul 9 0:25:21 CDT 2008.