Repository navigation
add a visualizer for _Ref_count_obj_alloc3 and _Ref_count_obj2 - #2811
Conversation
_Ref_count_obj_alloc3 and _Ref_count_obj2_Ref_count_obj_alloc3 and _Ref_count_obj2
|
Programmer-archaeology: MSVC-PR-179257 "Comply with The Rules for #309, merged 2020-04-08, shipped in VS 2019 16.7, introduced I don't think we absolutely need version comments, but I wouldn't object to them. |
|
test code: #include <memory>
template <typename T>
struct stateful_allocator
: std::allocator |
|
I didn't test class __declspec(empty_bases) _Ref_count_obj_alloc2 : public _Ebco_base<_Alloc>, public _Ref_count_base {class _Ref_count_obj_alloc3 : public _Ebco_base<_Rebind_alloc_t<_Alloc, _Ty>>, public _Ref_count_base { |
to match the rest of our XML formatting.
|
|
||
|
|
||
|
|
||
|
|
There was a problem hiding this comment.
Can we add a fixed string to a _Uses == 0 condition?
There was a problem hiding this comment.
Why would we need to show a child item for an empty shared_ptr? (weak_ptrs will display themselves as expired, IIRC)
|
I'm mirroring this to the MSVC-internal repo - please notify me if any further changes are pushed. |
|
I've resolved a trivial merge conflict where #2804 deleted code next to this PR's addition. |
|
Thanks for fixing these important visualizers! 🎉 🚀 😸 |
…icrosoft#2811) Co-authored-by: Stephan T. LavavejCo-authored-by: Casey Carter

Fixes #2787
test:
Do we need some comments for them like
?