Most actively wars are over long before the replacement rate starts to matter, and women that get pregnant or raise children will in all likelihood get an excemption from frontline duty.