Re: [patch] const_cast to be replaced by str_unconst


On Tue, 12 Apr 2005, Roland Illig wrote:

> I like this version much more than the const_cast macro I introduced
> some months ago. Compare these:

I mean no offense,  but please save us all the "I like this", "I
like that". It's obvious that you check in what you like.

> For those of you that are concerned about the performance loss of an
> extra function call: It is much more important for the code to be
> readable and checkable by the compiler than to be 1 millisecond faster
> at all.

You can inline it.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]