well, DeckConstPtr is equivalent to `std::shared_ptr<Opm::Deck>` and DeckConstPtr is  `std::shared_ptr<const Opm::Deck>`. The former can be cast to the latter, but not vice versa...