- Timestamp:
- 01/09/17 17:48:01 (8 years ago)
- Location:
- trunk/nv/stl/type_traits
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/nv/stl/type_traits/function.hh
r402 r531 106 106 107 107 // TODO: see if const volatile are needed under MSVC - we remove them after all 108 #if NV_COMPILER == NV_MSVC 108 #if NV_COMPILER == NV_MSVC && NV_ARCHITECTURE == NV_32BIT 109 109 #define NV_EMIT_WEAK_RESULT_TYPE_CALLDECL( CALLDECL ) \ 110 110 template < typename R, typename... Args > struct weak_result_type_impl< R CALLDECL( Args... ) > { typedef R result_type; }; \ -
trunk/nv/stl/type_traits/primary.hh
r505 r531 75 75 76 76 template < typename F > struct is_function_pointer : false_type {}; 77 #if NV_COMPILER == NV_MSVC 77 #if NV_COMPILER == NV_MSVC && NV_ARCHITECTURE == NV_32BIT 78 78 template < typename R, typename... Args > struct is_function_pointer< R( __cdecl * )( Args... ) > : true_type{}; 79 79 template < typename R, typename... Args > struct is_function_pointer< R( __stdcall * )( Args... ) > : true_type{}; … … 85 85 86 86 template < typename C > struct is_member_function_pointer : false_type {}; 87 #if NV_COMPILER == NV_MSVC 87 #if NV_COMPILER == NV_MSVC && NV_ARCHITECTURE == NV_32BIT 88 88 #define NV_IS_MEMFNPTR( call_conv ) \ 89 89 template < typename R, typename C, typename... Args > struct is_member_function_pointer< R( call_conv C::* )( Args... ) > : true_type{}; \ -
trunk/nv/stl/type_traits/transforms.hh
r454 r531 246 246 247 247 248 #if NV_COMPILER == NV_MSVC 248 #if NV_COMPILER == NV_MSVC && NV_ARCHITECTURE == NV_32BIT 249 249 template < typename F, typename... Args > 250 250 struct result_of < F __cdecl ( Args... ) > { typedef decltype( invoke( declval<F>(), declval<Args>()... ) ) type; };
Note: See TracChangeset
for help on using the changeset viewer.