diff --git a/test/sequence/identity_view.cpp b/test/sequence/identity_view.cpp index 285b17e2..0ad33277 100644 --- a/test/sequence/identity_view.cpp +++ b/test/sequence/identity_view.cpp @@ -79,6 +79,15 @@ main() BOOST_MPL_ASSERT((boost::is_same::type, boost::mpl::integral_c&& >)); } + { + typedef vector sequence_type; + sequence_type seq; + identity_view ident(seq); + copy(make_vector(1, 2, 3, 4, 5), ident); + std::cout << seq << std::endl; + BOOST_TEST((seq == make_vector(1, 2, 3, 4, 5))); + } + /// Associative { typedef map<