Something needs to change but I'm not certain what.
Phil Edwards
pedwards@disaster.jaj.com
Fri Nov 16 03:43:00 GMT 2001
My autobuilder pukes on 23_containers/list_modifiers.cc with an error
generated by the concept checkers. The class 'T' (which by the way is
really useful, thanks Stephen!) has:
private:
const int itsId;
const bool willThrow;
Trying to instantiate list<T> trips over the Assignable requirement of
[23.1]/3 and Table 64:
non-static const member `const int T::itsId', can't use default
assignment operator
Same for willThrow.
Personally, I feel that we should be able to violate certain requirements
in our own testsuite in order to test other requirements, as long as the
two sets of requirements are orthogonal. So the easiest fix is to force
the concept checks off for this file. Shall I add the appropriate #undef?
Phil
--
If ye love wealth greater than liberty, the tranquility of servitude greater
than the animating contest for freedom, go home and leave us in peace. We seek
not your counsel, nor your arms. Crouch down and lick the hand that feeds you;
and may posterity forget that ye were our countrymen. - Samuel Adams
More information about the Libstdc++
mailing list