Differential cross-sections for the reactions p+p→d+π+ and p+p→d+ρ+ in the energy range from 10 to 24 GeV