From 1988994bd3a7b68a7c014bba517ac53d8f7455b0 Mon Sep 17 00:00:00 2001 From: Jeremy Siek Date: Tue, 13 Feb 2001 02:03:59 +0000 Subject: [PATCH] added dummy_constructor to dummyT so it can be used in concept archetypes [SVN r9181] --- include/boost/pending/iterator_tests.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/boost/pending/iterator_tests.hpp b/include/boost/pending/iterator_tests.hpp index 3abdccc..c3c3601 100644 --- a/include/boost/pending/iterator_tests.hpp +++ b/include/boost/pending/iterator_tests.hpp @@ -15,12 +15,14 @@ # include # include # include +# include // for detail::dummy_constructor namespace boost { // use this for the value type struct dummyT { dummyT() { } + dummyT(detail::dummy_constructor) { } dummyT(int x) : m_x(x) { } int foo() const { return m_x; } bool operator==(const dummyT& d) const { return m_x == d.m_x; }