26 boost::function_requires<boost::ContainerConcept<T>>();
32 typename T::const_iterator i1 = d1.begin(), i2 = d1.end(), i3 = d2.begin(), i4 = d2.end();
37 typename T::iterator j1 = d2.begin(), j2 = d2.end();
45 BOOST_CHECK_MESSAGE(c.size() == d.size(),
"container copy-ctor size");
46 typename T::const_iterator i = c.begin(), j = d.begin();
50 BOOST_CHECK_MESSAGE(d == c,
"container copy-ctor values");
56 BOOST_CHECK_MESSAGE(c.size() == d.size(),
"container assignment copy-ctor size");
59 BOOST_CHECK_MESSAGE(d == c,
"container copy-ctor values");
65 BOOST_CHECK_MESSAGE(c.max_size() >= c.size() && 0 <= c.size(),
"container maximum size");
66 BOOST_CHECK_MESSAGE(d.max_size() >= d.size() && 0 <= d.size(),
"container maximum size");
67 BOOST_CHECK_MESSAGE(c.empty() == (c.size() == 0),
"container empty");
68 BOOST_CHECK_MESSAGE(d.empty() == (d.size() == 0),
"container empty");
81 BOOST_CHECK_MESSAGE(d1 == d3 && d2 == d4,
"container swap");
85 typename T::iterator x;
86 typename T::const_iterator y;