At Tue, 27 Oct 2009 17:09:09 -0600, > /* claims not to twiddle v.data[] */ > gsl_some_typical_const_function((const gsl_const_vector *) &v); >
The problem with anything involving explicit casts is that we lose type-safety. If v is not a vector there's no way to detect the error, which closes the hole of const-related errors but opens another one. -- Brian Gough
