Opened 20 years ago
Closed 19 years ago
#132 closed Bugs (Fixed)
boost::remove_pointer
Reported by: | nobody | Owned by: | John Maddock |
---|---|---|---|
Milestone: | Component: | None | |
Version: | None | Severity: | |
Keywords: | Cc: |
Description
boost_1_29_0 \boost\type_traits\broken_compiler_spec.hpp compile error on VC7 void foo() { {char dummy[ boost::is_same<boost::remove_pointer<const char**const>::type, const char*>::value ];} } I sugest that: // broken_compiler_spec.hpp #if defined(BOOST_BUGFIX_BY_K_HAMADA) # define BOOST_TT_AUX_REMOVE_PTR_REF_RANK_1_SPEC (T) \ BOOST_TT_AUX_BROKEN_TYPE_TRAIT_SPEC1 (remove_pointer,T*,T) \ BOOST_TT_AUX_BROKEN_TYPE_TRAIT_SPEC1 (remove_pointer,T* const,T) \ BOOST_TT_AUX_BROKEN_TYPE_TRAIT_SPEC1 (remove_pointer,T* volatile,T) \ BOOST_TT_AUX_BROKEN_TYPE_TRAIT_SPEC1 (remove_pointer,T* const volatile,T) \ BOOST_TT_AUX_BROKEN_TYPE_TRAIT_SPEC1 (remove_reference,T&,T) \ /**/ #else # define BOOST_TT_AUX_REMOVE_PTR_REF_RANK_1_SPEC (T) \ BOOST_TT_AUX_BROKEN_TYPE_TRAIT_SPEC1 (remove_pointer,T*,T) \ BOOST_TT_AUX_BROKEN_TYPE_TRAIT_SPEC1 (remove_reference,T&,T) \ /**/ #endif
Note:
See TracTickets
for help on using tickets.