From e7ca7744c43a31fff6b1c0498cc1079b19fde3c8 Mon Sep 17 00:00:00 2001 From: Ahmed Charles Date: Tue, 18 Feb 2014 04:47:31 -0800 Subject: [PATCH] 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. --- include/boost/concept_check.hpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/include/boost/concept_check.hpp b/include/boost/concept_check.hpp index 292f37d..2d6fa32 100644 --- a/include/boost/concept_check.hpp +++ b/include/boost/concept_check.hpp @@ -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); }