Instantiate more bcc32 v5.1 workarounds.

Fix for Chinese Win32 locales.
Don't test c_regex_traits if it's not present.


[SVN r31768]
This commit is contained in:
John Maddock
2005-11-24 16:37:05 +00:00
parent 1c2ff0ab50
commit 9d76e95575
3 changed files with 33 additions and 7 deletions

View File

@ -223,12 +223,14 @@ int cpp_main(int /*argc*/, char * /*argv*/[])
print_cpp_info(wchar_t(0), "wchar_t");
#endif
#if !BOOST_WORKAROUND(__BORLANDC__, < 0x560)
boost::c_regex_traits<char> a;
print_sort_syntax(a, "boost::c_regex_traits<char>");
#ifndef BOOST_NO_WREGEX
boost::c_regex_traits<wchar_t> b;
print_sort_syntax(b, "boost::c_regex_traits<wchar_t>");
#endif
#endif
#ifndef BOOST_NO_STD_LOCALE
boost::cpp_regex_traits<char> c;
print_sort_syntax(c, "boost::cpp_regex_traits<char>");