Closed Luthaf closed 6 years ago
Is there any reason why Zero is not implemented for std::cell::Cell<T: Zero> ? And same for One and other "smart pointer" types (I checked for Cell, RefCell, Rc, Arc, and Box).
std::cell::Cell<T: Zero>
OK, after a bit more checking, it appears that it it because of the Zero: Add requirement.
Zero: Add
Sorry for the noise !
Is there any reason why Zero is not implemented for
std::cell::Cell<T: Zero>
? And same for One and other "smart pointer" types (I checked for Cell, RefCell, Rc, Arc, and Box).