Boost logo

Boost :

From: Andrey Semashev (andysem_at_[hidden])
Date: 2007-04-04 14:54:12


Hello Tobias,

Wednesday, April 4, 2007, 1:28:31 PM, you wrote:

[snip]

>> If I may, I'd like to add:
>>
>> 5. add in_place_factory and typed_in_place_factory for zero
>> constructor arguments.

> Quick discussion:

> Often the reason against nullary function overloads is the earlier point
> of instantiation (nullary functions can't be templates), but that
> shouldn't be the problem here because 'in_place_factory's nested 'apply'
> is a template and 'typed_in_place_factory' is complete enough to be
> instantiated. For the 'inline in_place_factory0 in_place()' function the
> explicit 'inline' keyword is needed, however, not to break the ODR.

> OK. It seems reasonable and it seems there are no unsolvable problems
> around, so let's add it ;-).

>> I remember someone mentioned this before, but I
>> can't remember any one answered.

> That probably means that there's no maintainer. If that's so, I'd pick
> up this role.

Thanks a lot, Tobias! :)

-- 
Best regards,
 Andrey                            mailto:andysem_at_[hidden]

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk