One can’t have a Constitutional case dismissed for lack of standing, as naturally everyone is affected by the Constitution.
If it’s a civil lawsuit, then you have to show standing, meaning that you have to prove you were uniquely harmed by actions of the other person. When you say everyone is affected, then you’re admitting you don’t have standing. If everyone is affected, then you need a class-action suit that ‘everyone’ signs onto.