I main a warlock if I completely miss with my ranged melee I lose the charge. it's the same with the hunter throwing knife. And the Titan melee is way stronger and is available in every subclass!
You already answered your question. Warlocks lose their “RANGED” melee, Titans do too when they throw their hammer but they can pick it up again. Hunters lose their knives when they use them just so you know