René's URL Explorer Experiment


Title: std::weak_ptr::lock - cppreference.com

Generator: MediaWiki 1.43.8

direct link

Domain: cppreference.com

format-detectiontelephone=no

Links:

cppreference.comhttps://cppreference.com/
Create accounthttps://cppreference.com/index.php?title=Special:CreateAccount&returnto=cpp%2Fmemory%2Fweak+ptr%2Flock
Log inhttps://cppreference.com/index.php?title=Special:UserLogin&returnto=cpp%2Fmemory%2Fweak+ptr%2Flock
Pagehttps://cppreference.com/cpp/memory/weak_ptr/lock
Discussionhttps://cppreference.com/Talk:cpp/memory/weak_ptr/lock
https://cppreference.com/cpp/memory/weak_ptr/lock
Readhttps://cppreference.com/cpp/memory/weak_ptr/lock
View sourcehttps://cppreference.com/index.php?title=cpp/memory/weak_ptr/lock&action=edit
View historyhttps://cppreference.com/index.php?title=cpp/memory/weak_ptr/lock&action=history
https://cppreference.com/cpp/memory/weak_ptr/lock
cpphttps://cppreference.com/cpp
memoryhttps://cppreference.com/cpp/memory
weak ptrhttps://cppreference.com/cpp/memory/weak_ptr
C++https://cppreference.com/cpp
Compiler supporthttps://cppreference.com/cpp/compiler_support
Freestanding and hostedhttps://cppreference.com/cpp/freestanding
Languagehttps://cppreference.com/cpp/language
Standard libraryhttps://cppreference.com/cpp/standard_library
Standard library headershttps://cppreference.com/cpp/header
Named requirementshttps://cppreference.com/cpp/named_req
Feature test macroshttps://cppreference.com/cpp/feature_test
Language support libraryhttps://cppreference.com/cpp/utility#Language_support
Concepts libraryhttps://cppreference.com/cpp/concepts
Diagnostics libraryhttps://cppreference.com/cpp/error
Memory management libraryhttps://cppreference.com/cpp/memory
Metaprogramming libraryhttps://cppreference.com/cpp/meta
General utilities libraryhttps://cppreference.com/cpp/utility
Containers libraryhttps://cppreference.com/cpp/container
Iterators libraryhttps://cppreference.com/cpp/iterator
Ranges libraryhttps://cppreference.com/cpp/ranges
Algorithms libraryhttps://cppreference.com/cpp/algorithm
Strings libraryhttps://cppreference.com/cpp/string
Text processing libraryhttps://cppreference.com/cpp/text
Numerics libraryhttps://cppreference.com/cpp/numeric
Date and time libraryhttps://cppreference.com/cpp/chrono
Input/output libraryhttps://cppreference.com/cpp/io
Filesystem libraryhttps://cppreference.com/cpp/filesystem
Concurrency support libraryhttps://cppreference.com/cpp/thread
Execution control libraryhttps://cppreference.com/cpp/execution
Technical specificationshttps://cppreference.com/cpp/experimental
Symbols indexhttps://cppreference.com/cpp/symbol_index
External librarieshttps://cppreference.com/cpp/links/libs
[edit]https://cppreference.com/index.php?title=Template:cpp/navbar_content&action=edit
Memory management libraryhttps://cppreference.com/cpp/memory
Allocatorshttps://cppreference.com/cpp/memory#Allocators
allocatorhttps://cppreference.com/cpp/memory/allocator
allocator_traitshttps://cppreference.com/cpp/memory/allocator_traits
allocation_resulthttps://cppreference.com/cpp/memory/allocation_result
scoped_allocator_adaptorhttps://cppreference.com/cpp/memory/scoped_allocator_adaptor
allocator_arghttps://cppreference.com/cpp/memory/allocator_arg
uses_allocatorhttps://cppreference.com/cpp/memory/uses_allocator
uses_allocator_construction_argshttps://cppreference.com/cpp/memory/uses_allocator_construction_args
make_obj_using_allocatorhttps://cppreference.com/cpp/memory/make_obj_using_allocator
pmr::polymorphic_allocatorhttps://cppreference.com/cpp/memory/polymorphic_allocator
uninitialized_construct_using_allocatorhttps://cppreference.com/cpp/memory/uninitialized_construct_using_allocator
Memory resourceshttps://cppreference.com/cpp/memory#Memory_resources
pmr::memory_resourcehttps://cppreference.com/cpp/memory/memory_resource
pmr::get_default_resourcehttps://cppreference.com/cpp/memory/get_default_resource
pmr::set_default_resourcehttps://cppreference.com/cpp/memory/set_default_resource
pmr::new_delete_resourcehttps://cppreference.com/cpp/memory/new_delete_resource
pmr::pool_optionshttps://cppreference.com/cpp/memory/pool_options
pmr::null_memory_resourcehttps://cppreference.com/cpp/memory/null_memory_resource
pmr::synchronized_pool_resourcehttps://cppreference.com/cpp/memory/synchronized_pool_resource
pmr::unsynchronized_pool_resourcehttps://cppreference.com/cpp/memory/unsynchronized_pool_resource
pmr::monotonic_buffer_resourcehttps://cppreference.com/cpp/memory/monotonic_buffer_resource
Explicit lifetime managementhttps://cppreference.com/cpp/memory#Explicit_lifetime_management
start_lifetime_ashttps://cppreference.com/cpp/memory/start_lifetime_as
start_lifetime_as_arrayhttps://cppreference.com/cpp/memory/start_lifetime_as
Types for composite class designhttps://cppreference.com/cpp/memory#Types_for_composite_class_design
indirecthttps://cppreference.com/cpp/memory/indirect
polymorphichttps://cppreference.com/cpp/memory/polymorphic
Miscellaneoushttps://cppreference.com/cpp/memory#Miscellaneous
pointer_traitshttps://cppreference.com/cpp/memory/pointer_traits
to_addresshttps://cppreference.com/cpp/memory/to_address
addressofhttps://cppreference.com/cpp/memory/addressof
alignhttps://cppreference.com/cpp/memory/align
assume_alignedhttps://cppreference.com/cpp/memory/assume_aligned
is_sufficiently_alignedhttps://cppreference.com/cpp/memory/is_sufficiently_aligned
C Libraryhttps://cppreference.com/cpp/memory/c
mallochttps://cppreference.com/cpp/memory/c/malloc
freehttps://cppreference.com/cpp/memory/c/free
callochttps://cppreference.com/cpp/memory/c/calloc
reallochttps://cppreference.com/cpp/memory/c/realloc
aligned_allochttps://cppreference.com/cpp/memory/c/aligned_alloc
free_sizedhttps://cppreference.com/index.php?title=cpp/memory/c/free_sized&action=edit&redlink=1
free_aligned_sizedhttps://cppreference.com/index.php?title=cpp/memory/c/free_aligned_sized&action=edit&redlink=1
memalignmenthttps://cppreference.com/index.php?title=cpp/memory/c/memalignment&action=edit&redlink=1
Uninitialized storagehttps://cppreference.com/cpp/memory#Uninitialized_storage
raw_storage_iteratorhttps://cppreference.com/cpp/memory/raw_storage_iterator
get_temporary_bufferhttps://cppreference.com/cpp/memory/get_temporary_buffer
return_temporary_bufferhttps://cppreference.com/cpp/memory/return_temporary_buffer
Garbage collector supporthttps://cppreference.com/cpp/memory#Garbage_collector_support
declare_reachablehttps://cppreference.com/cpp/memory/gc/declare_reachable
declare_no_pointershttps://cppreference.com/cpp/memory/gc/declare_no_pointers
pointer_safetyhttps://cppreference.com/cpp/memory/gc/pointer_safety
undeclare_reachablehttps://cppreference.com/cpp/memory/gc/undeclare_reachable
undeclare_no_pointershttps://cppreference.com/cpp/memory/gc/undeclare_no_pointers
get_pointer_safetyhttps://cppreference.com/cpp/memory/gc/get_pointer_safety
Specialized algorithmshttps://cppreference.com/cpp/algorithm/memory
Low level memorymanagementhttps://cppreference.com/cpp/memory/new#Low_level_memory_management
operator newoperator new[]https://cppreference.com/cpp/memory/new/operator_new
operator deleteoperator delete[]https://cppreference.com/cpp/memory/new/operator_delete
nothrowhttps://cppreference.com/cpp/memory/new/nothrow
nothrow_thttps://cppreference.com/cpp/memory/new/nothrow_t
new_handlerhttps://cppreference.com/cpp/memory/new/new_handler
set_new_handlerhttps://cppreference.com/cpp/memory/new/set_new_handler
get_new_handlerhttps://cppreference.com/cpp/memory/new/get_new_handler
bad_allochttps://cppreference.com/cpp/memory/new/bad_alloc
bad_array_new_lengthhttps://cppreference.com/cpp/memory/new/bad_array_new_length
align_val_thttps://cppreference.com/cpp/memory/new/align_val_t
destroying_delete_thttps://cppreference.com/cpp/memory/new/destroying_delete_t
launderhttps://cppreference.com/cpp/utility/launder
Smart pointershttps://cppreference.com/cpp/memory#Smart_pointers
unique_ptrhttps://cppreference.com/cpp/memory/unique_ptr
shared_ptrhttps://cppreference.com/cpp/memory/shared_ptr
weak_ptrhttps://cppreference.com/cpp/memory/weak_ptr
auto_ptrhttps://cppreference.com/cpp/memory/auto_ptr
owner_lesshttps://cppreference.com/cpp/memory/owner_less
owner_lesshttps://cppreference.com/cpp/memory/owner_less_void
owner_hashhttps://cppreference.com/cpp/memory/owner_hash
owner_equalhttps://cppreference.com/cpp/memory/owner_equal
enable_shared_from_thishttps://cppreference.com/cpp/memory/enable_shared_from_this
bad_weak_ptrhttps://cppreference.com/cpp/memory/bad_weak_ptr
default_deletehttps://cppreference.com/cpp/memory/default_delete
out_ptr_thttps://cppreference.com/cpp/memory/out_ptr_t
inout_ptr_thttps://cppreference.com/cpp/memory/inout_ptr_t
[edit]https://cppreference.com/index.php?title=Template:cpp/memory/navbar_content&action=edit
std::weak_ptrhttps://cppreference.com/cpp/memory/weak_ptr
weak_ptr::weak_ptrhttps://cppreference.com/cpp/memory/weak_ptr/weak_ptr
weak_ptr::~weak_ptrhttps://cppreference.com/cpp/memory/weak_ptr/~weak_ptr
weak_ptr::operator=https://cppreference.com/cpp/memory/weak_ptr/operator%3D
weak_ptr::resethttps://cppreference.com/cpp/memory/weak_ptr/reset
weak_ptr::swaphttps://cppreference.com/cpp/memory/weak_ptr/swap
weak_ptr::use_counthttps://cppreference.com/cpp/memory/weak_ptr/use_count
weak_ptr::expiredhttps://cppreference.com/cpp/memory/weak_ptr/expired
weak_ptr::owner_beforehttps://cppreference.com/cpp/memory/weak_ptr/owner_before
weak_ptr::owner_hashhttps://cppreference.com/cpp/memory/weak_ptr/owner_hash
weak_ptr::owner_equalhttps://cppreference.com/cpp/memory/weak_ptr/owner_equal
swap(std::weak_ptr)https://cppreference.com/cpp/memory/weak_ptr/swap2
atomichttps://cppreference.com/cpp/memory/weak_ptr/atomic2
Deduction guideshttps://cppreference.com/cpp/memory/weak_ptr/deduction_guides
[edit]https://cppreference.com/index.php?title=Template:cpp/memory/weak_ptr/navbar_content&action=edit
1 Return valuehttps://cppreference.com/cpp/memory/weak_ptr/lock#Return_value
2 Noteshttps://cppreference.com/cpp/memory/weak_ptr/lock#Notes
3 Examplehttps://cppreference.com/cpp/memory/weak_ptr/lock#Example
4 Defect reportshttps://cppreference.com/cpp/memory/weak_ptr/lock#Defect_reports
5 See alsohttps://cppreference.com/cpp/memory/weak_ptr/lock#See_also
LWG 2316https://cplusplus.github.io/LWG/issue2316
expiredhttps://cppreference.com/cpp/memory/weak_ptr/expired
[edit]https://cppreference.com/index.php?title=Template:cpp/memory/weak_ptr/dsc_expired&action=edit
Categorieshttps://cppreference.com/Special:Categories
Pages using deprecated source tagshttps://cppreference.com/index.php?title=Category:Pages_using_deprecated_source_tags&action=edit&redlink=1
Pages using deprecated enclose attributeshttps://cppreference.com/index.php?title=Category:Pages_using_deprecated_enclose_attributes&action=edit&redlink=1
Support ushttp://www.cppreference.com/support
Recent changeshttps://cppreference.com/Special:RecentChanges
FAQhttps://cppreference.com/Cppreference:FAQ
Offline versionhttps://cppreference.com/Cppreference:Archives
https://cppreference.com/cpp/memory/weak_ptr/lock
What links herehttps://cppreference.com/Special:WhatLinksHere/cpp/memory/weak_ptr/lock
Related changeshttps://cppreference.com/Special:RecentChangesLinked/cpp/memory/weak_ptr/lock
Upload filehttp://upload.cppreference.com/w/Special:Upload
Special pageshttps://cppreference.com/Special:SpecialPages
Printable versionjavascript:print();
Permanent linkhttps://cppreference.com/index.php?title=cpp/memory/weak_ptr/lock&oldid=184282
Page informationhttps://cppreference.com/index.php?title=cpp/memory/weak_ptr/lock&action=info
Deutschhttps://de.cppreference.com/cpp/memory/weak_ptr/lock
Españolhttp://es.cppreference.com/cpp/memory/weak_ptr/lock
Françaishttp://fr.cppreference.com/cpp/memory/weak_ptr/lock
Italianohttp://it.cppreference.com/cpp/memory/weak_ptr/lock
日本語http://ja.cppreference.com/cpp/memory/weak_ptr/lock
Portuguêshttp://pt.cppreference.com/cpp/memory/weak_ptr/lock
Русскийhttp://ru.cppreference.com/cpp/memory/weak_ptr/lock
中文http://zh.cppreference.com/cpp/memory/weak_ptr/lock

Viewport: width=1120

Robots: max-image-preview:standard


URLs of crawlers that visited me.