On 05/18/2012 04:48 PM, Diego Novillo wrote:
We can do this in trunk today using a variant of Lawrence's original patch 
(http://gcc.gnu.org/ml/gcc-patches/2011-09/msg01649.html).  This uses no C++ 
features, though it weakens type checking by removing away constness.

In the cxx-conversion branch, we can use overloads, which will DTRT with const.

My question is, what do folks prefer?

a) The trunk patch today, using no C++ features.
b) Wait for the cxx-conversion variant?

Surely (check(t), t) also works, and also strt wrt const.


r~

Reply via email to