thrust
thrust copied to clipboard
device algorithms should not assume the presence of default constructors (when possible)
We should not require types to have default constructors unless the algorithm truly requires them. Eventually we should test our standard algorithms with user-defined types that do not provide a default constructor.
Forwarded from http://code.google.com/p/thrust/issues/detail?id=167