www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - checkedint submission

reply Andrei Alexandrescu <SeeWebsiteForEmail erdani.org> writes:
I added support for const and immutable qualifiers to Checked:

https://github.com/dlang/phobos/pull/4613/commits/be23323dc6d510503462ee11dbdb26b7af61aa61

It took 80 lines, which is only some 3% of the code base. Most 
aggravation was in fact caused by opBinary not accepting the "this" 
template parameter.  Walter does that qualify as a bug?

By this I am asking for std.experimental.checkedint to be considered for 
inclusion in Phobos.

Code: https://github.com/dlang/phobos/pull/4613
Docs: 
http://dtest.thecybershadow.net/artifact/website-b243266be0bd9e2a1d56da2d9e76c9e44689e1dd-17113e48d3b1f18b74e0fea1fa8e64ab/web/phobos-prerelease/std_experimental_checkedint.html
Dox: 
http://dtest.thecybershadow.net/artifact/website-b243266be0bd9e2a1d56da2d9e76c9e44689e1dd-17113e48d3b1f18b74e0fea1fa8e64ab/web/library-prerelease/std/experimental/checkedint.html


Thanks,

Andrei
Sep 15 2016
next sibling parent reply Robert burner Schadek <rburners gmail.com> writes:
could you please update the dub package
Sep 15 2016
parent reply Andrei Alexandrescu <SeeWebsiteForEmail erdani.org> writes:
On 09/15/2016 02:38 PM, Robert burner Schadek wrote:
 could you please update the dub package
Did this just now: git commit -am "Add const/immutable support" git tag v0.0.3 git push -u origin master git push --tags Is this all? Thx! Andrei
Sep 15 2016
parent reply Robert burner Schadek <rburners gmail.com> writes:
The last commit to https://github.com/andralex/checkedint was 21 
days ago? Something is off! Or was the last change to checkedint 
21 days ago?
Sep 15 2016
parent jmh530 <john.michael.hall gmail.com> writes:
On Thursday, 15 September 2016 at 20:07:40 UTC, Robert burner 
Schadek wrote:
 The last commit to https://github.com/andralex/checkedint was 
 21 days ago? Something is off! Or was the last change to 
 checkedint 21 days ago?
The first post has him committing to std.experimental.checkedint.
Sep 15 2016
prev sibling parent Robert burner Schadek <rburners gmail.com> writes:
Who is your review manager?
Sep 15 2016