Skip to content

No auto suggestions via pointer available #8412

@MarcTCruz

Description

@MarcTCruz

Duplicate of (closed) #5228
Bug type: Language Service

Visual Studio Code

Version: 1.62.2 (user setup)
Commit: 3a6960b964327f0e3882ce18fcebd07ed191b316
Date: 2021-11-11T20:56:38.428Z (5 days ago)
Electron: 13.5.2
Chrome: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Windows_NT x64 10.0.19042

  • C/C++ Extension Version:
    C/C++ v1.7.1

image

#include <iostream>
template <class T>
class Simple_Templated_Class
{
    struct Node
    {
        int value = 15;
    };

public:
    void print_value()
    {
        Node *new_node = new Node;
        //new_node->
        std::cout << new_node->value;
    }
};

int main()
{
    Simple_Templated_Class<int> stc_instance;

    stc_instance.print_value();

    return 0;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Language ServiceVisual StudioInherited from Visual StudiofixedCheck the Milestone for the release in which the fix is or will be available.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions