remove the need to derive from thrust::unary_function/thrust::binary_function when c++11 is enabled
remove the need to derive from thrust::unary_function/thrust::binary_function when c++11 is enabled

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