Skip to content

[REG 2.112.0] Can't query capacity of non-copyable arrays #23102

@CyberShadow

Description

@CyberShadow
struct S
{
	@disable this(this);
}

void fun()
{
	S[] s;
	auto c = s.capacity;
}

Introduced in #21143

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions