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

changelog update: swapAt, moveAt, iota.length #4220

Merged
merged 1 commit into from
Apr 20, 2016

Conversation

wilzbach
Copy link
Member

See #4167 and #4127 for the merged PRs.

@schveiguy
Copy link
Member

schveiguy commented Apr 19, 2016

Also need a note on iota.length being fixed to size_t, regardless of the type being iterated.

Edit: A possible update (left out macro stuff):

iota.length is now fixed to size_t instead of the type being iterated

...

iota.length is now returned as size_t. This means if you are on a 32-bit CPU and you are using iota to iterate 64-bit types, the length will be truncated to size_t. In non-release mode, you will get an exception if the length exceeds size_t.max in your call to iota.

@wilzbach wilzbach changed the title changelog entry: document swapAt + API change of moveAt changelog update: swapAt, moveAt, iota.length Apr 19, 2016
@wilzbach
Copy link
Member Author

Also need a note on iota.length being fixed to size_t, regardless of the type being iterated.

Added - thanks for reminding ;-)

@Hackerpilot
Copy link
Member

Auto-merge toggled on

@Hackerpilot Hackerpilot merged commit b686706 into dlang:master Apr 20, 2016
@wilzbach wilzbach deleted the update_changelog_swapAt branch June 8, 2016 01:37
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

Successfully merging this pull request may close these issues.

3 participants