Remove BOOST_FUNCTION_NO_FUNCTION_TYPE_SYNTAX workarounds

This commit is contained in:
Peter Dimov
2024-01-27 07:12:35 +02:00
parent 2570672623
commit 3254a3857a
4 changed files with 0 additions and 22 deletions
-7
View File
@@ -10,15 +10,9 @@
#define BOOST_FUNCTION_FWD_HPP
#include <boost/config.hpp>
#if defined(BOOST_BCB_PARTIAL_SPECIALIZATION_BUG) \
|| !(defined(BOOST_STRICT_CONFIG) || !defined(__SUNPRO_CC) || __SUNPRO_CC > 0x540)
# define BOOST_FUNCTION_NO_FUNCTION_TYPE_SYNTAX
#endif
namespace boost {
class bad_function_call;
#if !defined(BOOST_FUNCTION_NO_FUNCTION_TYPE_SYNTAX)
// Preferred syntax
template<typename Signature> class function;
@@ -27,7 +21,6 @@ namespace boost {
{
f1.swap(f2);
}
#endif // have partial specialization
// Portable syntax
template<typename R, typename... T> class function_n;