
16 Oct
2010
16 Oct
'10
8:25 a.m.
----- Original Message ----- From: "Gerardo Hernandez" <g.hernandez@indizen.com> To: <boost@lists.boost.org> Sent: Saturday, October 16, 2010 1:39 AM Subject: Re: [boost] [Pointer Container] Modification of pointer containers to allow const elements 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?) Additional opinions are largely welcomed. Gerardo. _______________________________________________ +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? Vicente