Peter Kümmel <[EMAIL PROTECTED]> writes:
| Reflecting:
|
| So much trouble because of ICONV_CONST.
|
| We should have used my initial solution:
|
| template<class T>
| struct optional_p2p_const_cast
| {
| optional_p2p_const_cast(T const ** p2p) : t_p2p(p2p) {}
| operator T const **() { return t_p2p; }
| operator T **() { return const_cast<T **>(t_p2p); }
| T const ** t_p2p;
| };
|
| Why have we chosen the long way? Changing three build systems
| producing more than 40 mails, wasting the time several developers.
Who cares about the buildsystems?
We have changed _one_ line in the code.
And that is far more important.
--
Lgb