Fix a couple of clumsy errors in the last commit.

[SVN r53248]
This commit is contained in:
Daniel James
2009-05-25 14:27:00 +00:00
parent e655314f73
commit 26cf795fe0

View File

@@ -118,41 +118,43 @@ namespace boost { \
sizeof(float_type(c99_func(x,y))) \ sizeof(float_type(c99_func(x,y))) \
== sizeof(is<type1>)); \ == sizeof(is<type1>)); \
}; \ }; \
} \
\ \
template <bool x> \ template <bool x> \
struct call_##c99_func##_c99 : \ struct call_c99 : \
call_##cpp_func<double> {}; \ boost::hash_detail::call_##cpp_func<double> {}; \
\ \
template <> \ template <> \
struct call_##c99_func##_c99<true> { \ struct call_c99<true> { \
typedef type1 float_type; \ typedef type1 float_type; \
\ \
inline type1 operator()(type1 a, type2 b) const \ template <typename T> \
inline type1 operator()(type1 a, T b) const \
{ \ { \
return c99_func(a, b); \ return c99_func(a, b); \
} \ } \
}; \ }; \
\ \
template <bool x> \ template <bool x> \
struct call_##c99_func##_cpp : \ struct call_cpp : \
call_##c99_func##_c99< \ call_c99< \
::boost::hash_detail::c99_func##_detect::check::c99 \ ::boost::hash_detail::c99_func##_detect::check::c99 \
> {}; \ > {}; \
\ \
template <> \ template <> \
struct call_##c99_func##_cpp<true> { \ struct call_cpp<true> { \
typedef type1 float_type; \ typedef type1 float_type; \
\ \
inline type1 operator()(type1 a, type2 b) const \ template <typename T> \
inline type1 operator()(type1 a, T b) const \
{ \ { \
return cpp_func(a, b); \ return cpp_func(a, b); \
} \ } \
}; \ }; \
} \
\ \
template <> \ template <> \
struct call_##cpp_func<type1> : \ struct call_##cpp_func<type1> : \
call_##c99_func##_cpp< \ c99_func##_detect::call_cpp< \
::boost::hash_detail::c99_func##_detect::check::cpp \ ::boost::hash_detail::c99_func##_detect::check::cpp \
> {}; \ > {}; \
} \ } \