Skip to content

Conversation

MartinNowak
Copy link
Member

  • turn the chunk size and alignment checks into asserts

Issue 14194 – nothrow emplace for classes needed

- turn the chunk size and alignment checks into asserts
@Geod24
Copy link
Member

Geod24 commented Feb 17, 2015

Don't they belong in an in {} contract ? Allocating is the caller reswponsability.
Other than that, LGTM, and thanks !

@kuettler
Copy link
Contributor

Some day all the helpful error messages will be gone. Then again, this looks good.

@MartinNowak
Copy link
Member Author

Some day all the helpful error messages will be gone. Then again, this looks good.

You'll get a traceback in debug showing you from where you called that function.
Combined with the messages it conveys the same information, less readable though.

@burner
Copy link
Member

burner commented Mar 25, 2015

LGTM

@burner
Copy link
Member

burner commented Mar 25, 2015

Auto-merge toggled on

burner added a commit that referenced this pull request Mar 25, 2015
fix Issue 14194 - nothrow emplace for classes needed
@burner burner merged commit ebb2b8c into dlang:master Mar 25, 2015
@MartinNowak MartinNowak deleted the fix14194 branch March 30, 2015 10:47
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.

4 participants