Tests workarounds for CodeGear 2009. Thanks Nicola for all the CodeGear workarounds.

[SVN r48921]
This commit is contained in:
Emil Dotchevski
2008-09-22 22:47:03 +00:00
parent 7c47c0be86
commit 717997e014
5 changed files with 31 additions and 0 deletions

View File

@ -6,6 +6,7 @@
#include <boost/exception/get_error_info.hpp>
#include <boost/exception/info_tuple.hpp>
#include <boost/detail/lightweight_test.hpp>
#include <boost/detail/workaround.hpp>
struct throws_on_copy;
struct non_printable { };
@ -34,6 +35,16 @@ user_data
}
};
#if BOOST_WORKAROUND(__CODEGEARC__, BOOST_TESTED_AT(0x610))
struct tag_test_1 {};
struct tag_test_2 {};
struct tag_test_3 {};
struct tag_test_4 {};
struct tag_test_5 {};
struct tag_test_6 {};
struct tag_user_data {};
#endif
typedef boost::error_info<struct tag_test_1,int> test_1;
typedef boost::error_info<struct tag_test_2,unsigned int> test_2;
typedef boost::error_info<struct tag_test_3,float> test_3;