graphical-debugging icon indicating copy to clipboard operation
graphical-debugging copied to clipboard

Add support for shared_ptr and containers of pointers

Open awulkiew opened this issue 3 years ago • 2 comments

Currently it's not possible to visualize the following:

struct MyPoint
{
    int x;
    int y;
};
typedef std::shared_ptr<MyPoint> MyPointPtr;
std::vector<MyPointPtr> ptrs;

awulkiew avatar Jun 15 '22 10:06 awulkiew

Also it would be nice to visualize pointers to containers, e.g.

struct MyPoint
{
    int x;
    int y;
};
std::vector<MyPoint> * pts;

yurrig avatar Jul 31 '22 20:07 yurrig

@yurrig You can write (*pts) to visualize this container.

awulkiew avatar Nov 25 '23 19:11 awulkiew