mirror of
https://github.com/boostorg/concept_check.git
synced 2025-07-29 20:17:36 +02:00
Fix for Ticket #2628.
Sequence containers are not required to have a size_type constructor. The standard only requires that sequences have an S(size_type, value_type) constructor.
This commit is contained in:
@ -818,9 +818,8 @@ namespace boost
|
||||
BOOST_CONCEPT_USAGE(Sequence)
|
||||
{
|
||||
S
|
||||
c(n),
|
||||
c2(n, t),
|
||||
c3(first, last);
|
||||
c(n, t),
|
||||
c2(first, last);
|
||||
|
||||
c.insert(p, t);
|
||||
c.insert(p, n, t);
|
||||
@ -833,7 +832,6 @@ namespace boost
|
||||
|
||||
ignore_unused_variable_warning(c);
|
||||
ignore_unused_variable_warning(c2);
|
||||
ignore_unused_variable_warning(c3);
|
||||
ignore_unused_variable_warning(r);
|
||||
const_constraints(c);
|
||||
}
|
||||
|
Reference in New Issue
Block a user