boost::const_pointer_cast 想要一个 const boost::shared_ptr<T> ,不是 boost::shared_ptr<const T> .让我们放弃强制性的“你不应该那样做”。我知道......但我需要这样做.
確定! 回上一頁