This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Something needs to change but I'm not certain what.
- From: Phil Edwards <pedwards at disaster dot jaj dot com>
- To: libstdc++ at gcc dot gnu dot org
- Cc: stephen at bregmasoft dot com
- Date: Sun, 25 Nov 2001 00:27:58 -0500
- Subject: Something needs to change but I'm not certain what.
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