It can be difficult to differentiate between those, because you can have meaningless sex in a committed relationship and meaningful sex in a non-committed one. I have sex with several of my close friends because the difference between platonic love and romantic relationship is not very clear in my mind. And I've had relationships that are very close and intimate where I haven't had sex with them because while some of them have been romantic, they just haven't been physical.
> you can have meaningless sex in a committed relationship and meaningful sex in a non-committed one
no, I don't think this is true. The older I get the more I think there's real wisdom in being very careful about who you have sex with.
It will have meaning, whether you want it to or not, and it will be negative meaning like regret if you are not very careful.
Sex is extremely dangerous and it is only safe to engage in it with someone you know well and trust, and trust isn't to be given lightly. You will be at your most vulnerable with your partner, both during the act and potentially afterwards due to the hormonal effects and emotional effects as well as the potential physical consequences. "Safe sex" is a lie.
I don't think in the age of birth control that everyone needs to wait until marriage but we have gone very far in the other direction and I really wish someone had told me when I was younger that I would remember all of my partners in vivid detail, especially the ones I wish I could forget.
No, there is really no such thing as meaningless sex.