[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lua-l
Subject:    Re: Deterministic hashing for lua tables
From:       Andre Leiradella <andre () leiradella ! com>
Date:       2012-01-31 1:55:01
Message-ID: 4F2749F5.9060701 () leiradella ! com
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic