From f2541bb90af059680aa7036f315f052175999355 Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Wed, 8 Apr 2015 03:09:47 +0000 Subject: Imported from /home/lorry/working-area/delta_boost-tarball/boost_1_58_0.tar.bz2. --- libs/fusion/test/support/pair_container.hpp | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 libs/fusion/test/support/pair_container.hpp (limited to 'libs/fusion/test/support/pair_container.hpp') diff --git a/libs/fusion/test/support/pair_container.hpp b/libs/fusion/test/support/pair_container.hpp new file mode 100644 index 000000000..3e84f0588 --- /dev/null +++ b/libs/fusion/test/support/pair_container.hpp @@ -0,0 +1,27 @@ +/*============================================================================= + Copyright (c) 2014 Kohei Takahashi + + Distributed under the Boost Software License, Version 1.0. (See accompanying + file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) +==============================================================================*/ + +#include +#include + +using namespace boost::fusion; + +template +void copy() +{ + pair src; + pair dest = src; + boost::ignore_unused(dest); +} + +void test() +{ + copy >(); + copy >(); + copy >(); +} + -- cgit v1.2.1