From b96900f6cdab5e4f6000dbef481253e4ddb95adb Mon Sep 17 00:00:00 2001 From: Antony Polukhin Date: Wed, 16 Oct 2013 16:59:10 +0400 Subject: [PATCH] Added C++11 related tests --- libs/type_index/test/template_index_tests.ipp | 13 +++++++++++++ libs/type_index/test/type_index_tests.ipp | 13 +++++++++++++ 2 files changed, 26 insertions(+) diff --git a/libs/type_index/test/template_index_tests.ipp b/libs/type_index/test/template_index_tests.ipp index 9d4efda..234c758 100644 --- a/libs/type_index/test/template_index_tests.ipp +++ b/libs/type_index/test/template_index_tests.ipp @@ -107,6 +107,19 @@ BOOST_AUTO_TEST_CASE(template_id_storing_modifiers) test_with_modofiers(); test_with_modofiers(); test_with_modofiers(); + +#ifndef BOOST_NO_CXX11_RVALUE_REFERENCES + test_with_modofiers(); + test_with_modofiers(); + test_with_modofiers(); + test_with_modofiers(); + test_with_modofiers(); + test_with_modofiers(); + test_with_modofiers(); + test_with_modofiers(); + test_with_modofiers(); + test_with_modofiers(); +#endif } template diff --git a/libs/type_index/test/type_index_tests.ipp b/libs/type_index/test/type_index_tests.ipp index 748ab44..22b16d6 100644 --- a/libs/type_index/test/type_index_tests.ipp +++ b/libs/type_index/test/type_index_tests.ipp @@ -157,6 +157,19 @@ BOOST_AUTO_TEST_CASE(type_id_storing_modifiers) test_with_modofiers_type_id(); test_with_modofiers_type_id(); test_with_modofiers_type_id(); + +#ifndef BOOST_NO_CXX11_RVALUE_REFERENCES + test_with_modofiers_type_id(); + test_with_modofiers_type_id(); + test_with_modofiers_type_id(); + test_with_modofiers_type_id(); + test_with_modofiers_type_id(); + test_with_modofiers_type_id(); + test_with_modofiers_type_id(); + test_with_modofiers_type_id(); + test_with_modofiers_type_id(); + test_with_modofiers_type_id(); +#endif } template