This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/21770] rebinding allocator::value type vs. container::value_type
- From: "pcarlini at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 May 2005 20:50:40 -0000
- Subject: [Bug libstdc++/21770] rebinding allocator::value type vs. container::value_type
- References: <20050526165558.21770.bkoz@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pcarlini at suse dot de 2005-05-26 20:50 -------
Actually, we already have the machinery, in concept-checks ;) Would be:
__glibcxx_class_requires2(_Tp, typename _Alloc::value_type, _SameTypeConcept)
on top of each container.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21770