Compulsory Licensing[1] is maybe what you're thinking of, but from what I can tell seems to apply mostly to drug patents, or things {the,a} government wants from you. It has a wider applicability in copyrighted forms of IP, I believe.
Patents that are part of some organised standard are often required to be placed under 'FRAND[2] (Fair, reasonable, and non-discriminatory)' compulsory licences to allow for interoperability whilst still allowing the patent holder to receive (reasonable) royalties if they wish.
[1] https://en.wikipedia.org/wiki/Compulsory_licensing
[2] https://en.wikipedia.org/wiki/Reasonable_and_non-discriminat...
If I add a patented process to an important standard, but I don't own the patents, you still don't get those patents just because they are part of some important standard.
The alternative is not to disclose it, with the risk for you that nobody will reverse engineer or discover by themselves, or the risk for everyone else that this knowledge could be lost forever.
† pending approval, and unless successfully challenged in court (where the patent applies).
They only grant the right to exclude others from doing something. So if i own a patent on X, it gives me the right to prevent others from doing X.
Even if i license my patent on X to you, it does not necessarily mean you can do X, because doing X may also require other patents that my patent is an extension of. In other words:
Imagine we have patented processes, each building on the last. Patent A covers doing thing one Patent B covers doing thing one, then thing two Patent C covers doing thing one, then thing two, then thing three.
Granting you only the right to perform patent C does not enable you to perform the process described by patent C, you'd still need licenses for patent B and patent A to do that.
http://en.wikipedia.org/wiki/Compulsory_license
PS: The only real exception in the USA is the US Government get's to ignore patents at it's digression.