Boost logo

Boost :

Subject: Re: [boost] [type_erasure] Review started (July 18-27, 2012)
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2012-07-23 12:43:09


On 07/23/2012 07:35 AM, Andrey Semashev wrote:
> On Wednesday 18 July 2012 01:13:20 Lorenzo Caminiti wrote:
>> Hello all,
>> *** The review of Steven Watanabe's proposed Boost.TypeErasure library
>> begins on July 18, 2012 and ends on July 27, 2012. ***
> Hi,
> This is not yet a complete review but rather some thoughts and questions I
> came up with as I read the documentation and the source code. I did not follow
> the discussion so my apologies if these have already been answered.
> 1. As I can see, the implementation contains a function table to implement
> concepts, am I right? Why this table is stored per-object and not created
> statically, for every stored type/concept combination? Considering the number
> of concepts, this table can take much space in every "any" instance.

The table is created statically. The
table is only constructed dynamically
for conversions.

In Christ,
Steven Watanabe

Boost list run by bdawes at, gregod at, cpdaniel at, john at