Skip to content

Wrong type deduction #738

Description

@ChristianBml

Hi Andreas,

This code:

int x = 0;
int* p = &x;
decltype((p)) e = p;

leads to the following output:

int x = 0;
int* p = &x;
int&* e = p; // <-- int*&

Regards

Christian

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions