lion03 / thrust

Automatically exported from code.google.com/p/thrust
Apache License 2.0
0 stars 0 forks source link

temporary_array needs to invoke T's constructor when it is not trivial #380

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
temporary_array<std::string, thrust::cpp::tag> probably crashes right now

Original issue reported on code.google.com by jaredhoberock on 3 Oct 2011 at 11:03

GoogleCodeExporter commented 8 years ago
Fix this by giving temporary_array an allocator type which can control 
construction of elements. We can defer this

Original comment by jaredhoberock on 23 Jan 2012 at 10:06

GoogleCodeExporter commented 8 years ago
the vectors will need to defer to their allocator to correctly construct their 
elements anyway

Original comment by jaredhoberock on 23 Jan 2012 at 10:13

GoogleCodeExporter commented 8 years ago
Forwarded to github:

https://github.com/thrust/thrust/issues/35

Original comment by jaredhoberock on 7 May 2012 at 8:33