C++ std::const_pointer_cast example ; template< class T, class U > std::shared_ptr<T> static_pointer_cast( std::shared_ptr<U>&& r ) noexcept;, (2), (since C++20).
確定! 回上一頁