Boost logo

Boost :

Subject: Re: [boost] [Pointer Container] Modification of pointer containers to allow const elements
From: Gerardo Hernandez (g.hernandez_at_[hidden])
Date: 2010-10-16 06:24:57

2010/10/16 vicente.botet <vicente.botet_at_[hidden]>:
> So we have two options:
> 1) Scatter const_cast throught the code
> 2) Use mpl::if_ at the expense of one additional template
> instantiation (Would that be so painful?)

> +1 for option 1). The internal implementation doesn't cares the user. One of the initial goals was to avoid template instantatiation, wasn't it?

I didn't know that. So we have a winner. I will try to contact the
mantainers for the fix.


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