Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for shared_ptr and containers of pointers #48

Open
awulkiew opened this issue Jun 15, 2022 · 2 comments
Open

Add support for shared_ptr and containers of pointers #48

awulkiew opened this issue Jun 15, 2022 · 2 comments

Comments

@awulkiew
Copy link
Owner

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;
@yurrig
Copy link

yurrig commented Jul 31, 2022

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

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

@awulkiew
Copy link
Owner Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants