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

Construct arrays of objects? #11

Open
ViteFalcon opened this issue Jun 9, 2015 · 0 comments
Open

Construct arrays of objects? #11

ViteFalcon opened this issue Jun 9, 2015 · 0 comments

Comments

@ViteFalcon
Copy link
Owner

it's implicit that "Single" types can't be
costructed into arrays, so there will not be "buildSingleArray" in any case.

auto myArray = ioc.buildArray<IFoo>(50); 

for(int i=0; i<50; i++)
 myArray[i]; //would that be usefull? would that be misused?
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

1 participant