The roof always gets covered with shingles or metal panels, so CDX is an ideal material for roof sheathing ... wood itself is not particularly rot-resistant. This is why pressure-treated plywood ...