[C++-sig] bug with const double and msvc

Niki Spahiev spahievi at vega.bg
Sat Mar 29 23:35:30 CET 2003


David Abrahams wrote:
> The answer to this is to write the declarations without const.  The
> definitions can still be written with const.  The bug in MSVC is that
> it considers cv-qualifiers oni function arguments to be part of the
> function type.

Unfortunately this is opencascade library, not my own. Workaround seems 
fine so far.

Niki Spahiev





More information about the Cplusplus-sig mailing list