changed the types of copy/move conditions to bool