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

DynamicArray with non-copyable types. #171

Closed
Panke opened this issue May 29, 2021 · 3 comments
Closed

DynamicArray with non-copyable types. #171

Panke opened this issue May 29, 2021 · 3 comments

Comments

@Panke
Copy link
Contributor

Panke commented May 29, 2021

/+dub.sdl:
dependency "emsi_containers" version="~>0.8.0"
+/

import containers;

struct Foo
{
    DynamicArray!int i;
}

struct Bar
{
    DynamicArray!Foo foos;
}

void main()
{ 
	Bar b;  
}

I think we can and should make this possible.

@Panke
Copy link
Contributor Author

Panke commented May 29, 2021

#172

@CyberShadow
Copy link
Member

Fixed in #182.

@Panke
Copy link
Contributor Author

Panke commented Sep 22, 2021

Thanks!

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

No branches or pull requests

2 participants