Index: boost/regex/v4/regex_workaround.hpp =================================================================== --- boost/regex/v4/regex_workaround.hpp (revision 41287) +++ boost/regex/v4/regex_workaround.hpp (working copy) @@ -149,14 +149,16 @@ { return stdext::unchecked_equal(first, last, with); } +#else + using std::copy; + using std::equal; +#endif +#if BOOST_WORKAROUND(BOOST_MSVC,>=1400) && defined(__STDC_WANT_SECURE_LIB__) && __STDC_WANT_SECURE_LIB__ // use safe versions of strcpy etc: using ::strcpy_s; using ::strcat_s; #else - using std::copy; - using std::equal; - inline std::size_t strcpy_s( char *strDestination, std::size_t sizeInBytes, @@ -179,7 +181,6 @@ std::strcat(strDestination, strSource); return 0; } - #endif inline void overflow_error_if_not_zero(std::size_t i)