Your spouse or common-law partner, or the trust for your spouse or common-law partner or for yourself, is considered to have bought the capital property for the same amount that you are considered to have sold it for.
For more information about you can visit the following links: