By the way, with the recent changes, capital gains are exempt only if they're derived from a participating interest in either foreign or domestic companies.
There are also some other situations, like intra-group transfers, reorganizations, and restructuring, where capital gains remain exempt...