> > Can we find a way to expose the functionality in the public C++ api?
> 
> There are two choices:
> 
> 1. Expose the entire mem_sizeof.h header and add:
> 
>     size_t alloc_size() const;
> 
> on the public Item.
> 
> 2. Add:
> 
>     size_t mem_size() const;
> 
> on the public Item that simply calls ztd::mem_sizeof() on the store::Item.
I prefer option 2. Could you please do that and mention it in the ChangeLog?
-- 
https://code.launchpad.net/~zorba-coders/zorba/feature-mem_size/+merge/114764
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to     : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp

Reply via email to