Skip to content

Missing Reference in Structured Binding Intellisense #14450

@geometrian

Description

@geometrian

The language hovers for structured bindings do not show references.

For example, in the following simple example while hovering over x, the editor renders int x, which is incorrect. It ought to be int& x.

Image
struct Foo { int x, y, z; };
void test( Foo& foo ) {
	auto& [ x, y, z ] = foo;
}

Metadata

Metadata

Assignees

Type

No fields configured for Bug.

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions