From 1c3c70f4ccad4d5c24da173ebdb6b360905383af Mon Sep 17 00:00:00 2001 From: Joel de Guzman Date: Wed, 25 Oct 2006 09:05:00 +0000 Subject: [PATCH] added test for returning a tuple of double with conversion from a tuple of ints [SVN r35740] --- test/sequence/copy.hpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/test/sequence/copy.hpp b/test/sequence/copy.hpp index 665983c7..7e88caf4 100644 --- a/test/sequence/copy.hpp +++ b/test/sequence/copy.hpp @@ -31,6 +31,12 @@ namespace struct DD { operator CC() const { return CC(); }; }; } +boost::fusion::FUSION_SEQUENCE +foo(int i) +{ + return boost::fusion::FUSION_MAKE(i, i+1, i+2, i+3); +} + void test() { @@ -60,4 +66,7 @@ test() BOOST_TEST(i==1); BOOST_TEST(c=='a'); BOOST_TEST(d>5.4 && d<5.6); + + // returning a tuple with conversion + foo(2); }