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 4 of 8 Topic 45810 of 47032
Post > Topic >>

Re: Using special allocator interfaces...

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

* Chris Thomasson:
> "Alf P. Steinbach" <alfps@[EMAIL PROTECTED]
> wrote in message 
> news:cI6dncePT72PYr_VnZ2dnUVZ_tHinZ2d@[EMAIL PROTECTED]
>> * Chris Thomasson:
>>> Does this program produce any undefined-behavior:
>>>
>>> http://pastebin.com/m5eb3c81a
>>>
>>> ?
>>
>> Yes,
>>
>>   *pregion = (Region*)0x12348765
>>
>> is formally UB.
> 
> Is that the only thing you can find?

If you want a more thorough discussion, post the code, and explain what
you're 
concerned about.  Then others will probably jump on it.  It's The Way(TM).


Cheers, & hth.,

- Alf

PS: I only followed the link because I recognized your name.  Please don't
post 
links.  Post the code.

-- 
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 Fri Jul 25 21:11:23 CDT 2008.