Been divorced and been widowed, so I can answer on both accounts. With the first wife, I had thought I was over all this and didn't really say anything until after we were married. I won't say that the CDing was a major issue, we just drifted apart. Wife 2 knew about this side of me and was willing to deal with it. We did compromise some and while it was not a perfect solution, I worked with her for the sake of the marriage and the kids. No regrets, I did what I felt was right.
Now as a widower, all the compromises are off the table, especially since my kids are now all living on their own. I am happier but I do miss my wife.
However if I do get involved again, the lady will know all about me and accept me as I am. I'd rather be alone than push myself back into the closet.