Index: boost/concept/detail/has_constraints.hpp =================================================================== --- boost/concept/detail/has_constraints.hpp (revision 60147) +++ boost/concept/detail/has_constraints.hpp (working copy) @@ -21,7 +21,7 @@ template struct wrap_constraints {}; -#if BOOST_WORKAROUND(__SUNPRO_CC, <= 0x580) +#if BOOST_WORKAROUND(__SUNPRO_CC, <= 0x580) || __CUDACC__ // Work around the following bogus error in Sun Studio 11, by // turning off the has_constraints function entirely: // Error: complex expression not allowed in dependent template