I’m thinking in the U.S. and Canada. For example, if you’re on vacation, you’ve checked out of your hotel room and have several hours until your flight, and you have some cans of beer left over. I know you could sneakily drink them in a park or something, but I’m just curious if there’s any way to do it that’s legal.
In my midwest city, you can’t have an open container in public (however, they allow passengers of cars to have open containers). The way they work around this is you put the container in a brown paper bag and drink out of it that way. You can also put it in a different container. Just don’t be visibly intoxicated and you’ll be safe almost all of the time.