X Tutup
7 captures
15 Sep 2015 - 15 Nov 2025
Oct
NOV
Dec
14
2018
2019
2020
success
fail
About this capture
COLLECTED BY
Collection:
Common Crawl
Web crawl data from Common Crawl.
TIMESTAMPS
The Wayback Machine - https://web.archive.org/web/20191114234518/https://ja.cppreference.com/w/cpp/memory/weak_ptr/reset
cppreference.com
検索
アカウント作成
ログイン
名前空間
ページ
議論
変種
表示
閲覧
編集
履歴
操作
std::weak_ptr<T>::
reset
提供: cppreference.com
<
cpp
|
memory
|
weak ptr
C++
言語
標準ライブラリヘッダ
フリースタンディング処理系とホスト処理系
名前付き要件
言語サポートライブラリ
コンセプトライブラリ
(C++20)
診断ライブラリ
ユーティリティライブラリ
文字列ライブラリ
コンテナライブラリ
イテレータライブラリ
範囲ライブラリ
(C++20)
アルゴリズムライブラリ
数値演算ライブラリ
入出力ライブラリ
ローカライゼーションライブラリ
正規表現ライブラリ
(C++11)
アトミック操作ライブラリ
(C++11)
スレッドサポートライブラリ
(C++11)
ファイルシステムライブラリ
(C++17)
技術仕様書
[edit]
ユーティリティライブラリ
型サポート
(基本型、RTTI、型特性)
動的メモリ管理
エラー処理
プログラムユーティリティ
可変長引数関数
ライブラリ機能テストマクロ
日付と時間
関数オブジェクト
書式化ライブラリ
(C++20)
initializer_list
(C++11)
source_location
(C++20)
bitset
hash
(C++11)
integer_sequence
(C++14)
関係演算子
(C++20で非推奨)
rel_ops::operator!=
rel_ops::operator>
rel_ops::operator<=
rel_ops::operator>=
比較
(C++20)
three_way_comparable
three_way_comparable_with
strong_ordering
weak_ordering
partial_ordering
strong_equality
weak_equality
common_comparison_category
compare_three_way_result
strong_order
weak_order
partial_order
compare_strong_order_fallback
compare_weak_order_fallback
compare_partial_order_fallback
compare_three_way
is_eq
is_neq
is_lt
is_lteq
is_gt
is_gteq
一般的な語彙の型
pair
tuple
(C++11)
apply
(C++17)
make_from_tuple
(C++17)
optional
(C++17)
any
(C++17)
variant
(C++17)
スワップ、転送、ムーブ
swap
exchange
(C++14)
forward
(C++11)
move
(C++11)
move_if_noexcept
(C++11)
初等文字列変換
to_chars
(C++17)
from_chars
(C++17)
chars_format
(C++17)
型操作
declval
(C++11)
as_const
(C++17)
launder
(C++17)
[edit]
動的メモリ管理
スマートポインタ
unique_ptr
(C++11)
shared_ptr
(C++11)
weak_ptr
(C++11)
auto_ptr
(C++17未満)
owner_less
(C++11)
enable_shared_from_this
(C++11)
bad_weak_ptr
(C++11)
default_delete
(C++11)
アロケータ
allocator
allocator_traits
(C++11)
allocator_arg_t
(C++11)
allocator_arg
(C++11)
uses_allocator
(C++11)
uses_allocator_construction_args
(C++20)
make_obj_using_allocator
(C++20)
uninitialized_construct_using_allocator
(C++20)
scoped_allocator_adaptor
(C++11)
pmr::polymorphic_allocator
(C++17)
メモリリソース
pmr::memory_resource
(C++17)
pmr::get_default_resource
(C++17)
pmr::set_default_resource
(C++17)
pmr::new_delete_resource
(C++17)
pmr::null_memory_resource
(C++17)
pmr::synchronized_pool_resource
(C++17)
pmr::unsynchronized_pool_resource
(C++17)
pmr::monotonic_buffer_resource
(C++17)
pmr::pool_options
(C++17)
未初期化記憶域
uninitialized_copy
uninitialized_fill
uninitialized_move
(C++17)
uninitialized_default_construct
(C++17)
uninitialized_value_construct
(C++17)
destroy
(C++17)
uninitialized_copy_n
(C++11)
uninitialized_fill_n
uninitialized_move_n
(C++17)
uninitialized_default_construct_n
(C++17)
uninitialized_value_construct_n
(C++17)
destroy_n
(C++17)
destroy_at
(C++17)
raw_storage_iterator
(C++20未満)
get_temporary_buffer
(C++20未満)
return_temporary_buffer
(C++20未満)
ガベージコレクションサポート
declare_reachable
(C++11)
undeclare_reachable
(C++11)
declare_no_pointers
(C++11)
undeclare_no_pointers
(C++11)
pointer_safety
(C++11)
get_pointer_safety
(C++11)
その他
pointer_traits
(C++11)
to_address
(C++20)
addressof
(C++11)
align
(C++11)
assume_aligned
(C++20)
C のライブラリ
malloc
aligned_alloc
(C++17)
calloc
realloc
free
低水準のメモリ管理
[edit]
std::weak_ptr
メンバ関数
weak_ptr::weak_ptr
weak_ptr::~weak_ptr
weak_ptr::operator=
変更
weak_ptr::reset
weak_ptr::swap
観察
weak_ptr::use_count
weak_ptr::expired
weak_ptr::lock
weak_ptr::owner_before
非メンバ関数
std::swap
ヘルパークラス
std::atomic
<std::weak_ptr>
(C++20)
推定ガイド
(C++17)
[edit]
void
reset
(
)
noexcept
;
(C++11以上)
管理対象オブジェクトへの参照を解放します。 呼び出し後、
*
this
はオブジェクトを管理しなくなります。
[
編集
]
引数
(なし)
[
編集
]
戻り値
(なし)
X Tutup