I decided to start writing a few months ago, but I never actually committed to it. Then I decided a few days ago that I was actually going to do it, and I have spent the last few days trying to decide what would be a good first post. I am still undecided. But today I read an interesting
question in StackOverflow, and decided to write about it.
The problem Rafał has is with implicit conversions. In his application he has two types that are convertible, but only
explicitly convertible. He is surprised that an
std::pair<>that contains one of those types is
implicitly convertible to a
std::pair<> of that contains the second type.