Workaround disallowed constructors on types declared in __shared__ memory in cuda::reduce.
Workaround disallowed constructors on types declared in __shared__ memory in cuda::reduce.

--HG--
extra : convert_revision : svn%3A83215879-3e5a-4751-8c9d-778f44bb06a5/trunk%4066

thrust/thrust,thrust/thrust,sdalton1/thrust,arnabgho/thrust,thvasilo/thrust,zeryx/thrust,xiongzhanblake/thrust,egaburov/thrust,Ricardo666666/thrust,zhenglaizhang/thrust,thrust/thrust,xiongzhanblake/thrust,thvasilo/thrust,sarvex/thrust,dachziegel/thrust,GrimDerp/thrust,thvasilo/thrust,jaredhoberock/thrust,thrust/thrust,zhenglaizhang/thrust,Ricardo666666/thrust,andrewcorrigan/thrust-multi-permutation-iterator,andrewcorrigan/thrust-multi-permutation-iterator,sdalton1/thrust,jaredhoberock/thrust,GrimDerp/thrust,andrewcorrigan/thrust-multi-permutation-iterator,zhenglaizhang/thrust,sdalton1/thrust,sarvex/thrust,mohamed-ali/thrust,raygit/thrust,Ricardo666666/thrust,xiongzhanblake/thrust_src,zeryx/thrust,arnabgho/thrust,mohamed-ali/thrust,egaburov/thrust,mohamed-ali/thrust,xiongzhanblake/thrust,dachziegel/thrust,raygit/thrust,xiongzhanblake/thrust_src,sarvex/thrust,marksantos/thrust,raygit/thrust,jaredhoberock/thrust,thrust/thrust,marksantos/thrust,zeryx/thrust,dachziegel/thrust,marksantos/thrust,GrimDerp/thrust,jaredhoberock/thrust,arnabgho/thrust,xiongzhanblake/thrust_src,egaburov/thrust,jaredhoberock/thrust