[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Deterministic hashing for lua tables
- From: Andre Leiradella <andre@...>
- Date: Mon, 30 Jan 2012 23:55:01 -0200
On 30/01/2012 23:38, HyperHacker wrote:
<snip> since C++ doesn't provide a way to create an object in a
pre-allocated block.
You can use placement new for that, but the problem is that in general
external libraries don't let you mess with how they allocate and create
objects so the best you can do is box the pointers they return, like you
said.
Cheers,
Andre