Ticket #6907: __fastcall not guarded against

[SVN r79436]
This commit is contained in:
Ion Gaztañaga
2012-07-12 07:25:46 +00:00
parent a74f5d8942
commit d1c14890d9

View File

@@ -156,10 +156,14 @@ template <typename R>
struct is_unary_or_binary_function_impl<R (__stdcall*)()> struct is_unary_or_binary_function_impl<R (__stdcall*)()>
{ static const bool value = true; }; { static const bool value = true; };
#ifndef _MANAGED
template <typename R> template <typename R>
struct is_unary_or_binary_function_impl<R (__fastcall*)()> struct is_unary_or_binary_function_impl<R (__fastcall*)()>
{ static const bool value = true; }; { static const bool value = true; };
#endif
template <typename R> template <typename R>
struct is_unary_or_binary_function_impl<R (__cdecl*)()> struct is_unary_or_binary_function_impl<R (__cdecl*)()>
{ static const bool value = true; }; { static const bool value = true; };
@@ -188,10 +192,14 @@ template <typename R, class T0>
struct is_unary_or_binary_function_impl<R (__stdcall*)(T0)> struct is_unary_or_binary_function_impl<R (__stdcall*)(T0)>
{ static const bool value = true; }; { static const bool value = true; };
#ifndef _MANAGED
template <typename R, class T0> template <typename R, class T0>
struct is_unary_or_binary_function_impl<R (__fastcall*)(T0)> struct is_unary_or_binary_function_impl<R (__fastcall*)(T0)>
{ static const bool value = true; }; { static const bool value = true; };
#endif
template <typename R, class T0> template <typename R, class T0>
struct is_unary_or_binary_function_impl<R (__cdecl*)(T0)> struct is_unary_or_binary_function_impl<R (__cdecl*)(T0)>
{ static const bool value = true; }; { static const bool value = true; };
@@ -220,10 +228,14 @@ template <typename R, class T0, class T1>
struct is_unary_or_binary_function_impl<R (__stdcall*)(T0, T1)> struct is_unary_or_binary_function_impl<R (__stdcall*)(T0, T1)>
{ static const bool value = true; }; { static const bool value = true; };
#ifndef _MANAGED
template <typename R, class T0, class T1> template <typename R, class T0, class T1>
struct is_unary_or_binary_function_impl<R (__fastcall*)(T0, T1)> struct is_unary_or_binary_function_impl<R (__fastcall*)(T0, T1)>
{ static const bool value = true; }; { static const bool value = true; };
#endif
template <typename R, class T0, class T1> template <typename R, class T0, class T1>
struct is_unary_or_binary_function_impl<R (__cdecl*)(T0, T1)> struct is_unary_or_binary_function_impl<R (__cdecl*)(T0, T1)>
{ static const bool value = true; }; { static const bool value = true; };