www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - std.stdint seems to be an outcast?

reply "Gary Willoughby" <dev nomad.so> writes:
There is a module called std.stdint located here:

http://dlang.org/phobos/std_stdint.html

but it doesn't appear in the documentation index here:

http://dlang.org/phobos/index.html

Not only that but when looking at the source it's just publicly 
importing core.stdc.stdint.

What's the deal here? Is this a supported module? Should it 
appear in the doc index?
Dec 08 2014
next sibling parent "Meta" <jared771 gmail.com> writes:
On Monday, 8 December 2014 at 17:21:00 UTC, Gary Willoughby wrote:
 There is a module called std.stdint located here:

 http://dlang.org/phobos/std_stdint.html

 but it doesn't appear in the documentation index here:

 http://dlang.org/phobos/index.html

 Not only that but when looking at the source it's just publicly 
 importing core.stdc.stdint.

 What's the deal here? Is this a supported module? Should it 
 appear in the doc index?
I think it's a leftover from D's earlier days, but don't quote me on that.
Dec 08 2014
prev sibling next sibling parent Jacob Carlborg <doob me.com> writes:
On 2014-12-08 18:20, Gary Willoughby wrote:
 There is a module called std.stdint located here:

 http://dlang.org/phobos/std_stdint.html

 but it doesn't appear in the documentation index here:

 http://dlang.org/phobos/index.html

 Not only that but when looking at the source it's just publicly
 importing core.stdc.stdint.

 What's the deal here? Is this a supported module? Should it appear in
 the doc index?
A deprecated module perhaps. -- /Jacob Carlborg
Dec 08 2014
prev sibling next sibling parent "Kapps" <opantm2+spam gmail.com> writes:
On Monday, 8 December 2014 at 17:21:00 UTC, Gary Willoughby wrote:
 There is a module called std.stdint located here:

 http://dlang.org/phobos/std_stdint.html

 but it doesn't appear in the documentation index here:

 http://dlang.org/phobos/index.html

 Not only that but when looking at the source it's just publicly 
 importing core.stdc.stdint.

 What's the deal here? Is this a supported module? Should it 
 appear in the doc index?
It was probably something that used to exist in phobos but was moved to druntime, so the std one was left as an alias of sorts to the core one (but undocumented so people don't use it in the future).
Dec 08 2014
prev sibling parent Dan Olson <zans.is.for.cans yahoo.com> writes:
"Gary Willoughby" <dev nomad.so> writes:

 There is a module called std.stdint located here:

 http://dlang.org/phobos/std_stdint.html

 but it doesn't appear in the documentation index here:

 http://dlang.org/phobos/index.html

 Not only that but when looking at the source it's just publicly
 importing core.stdc.stdint.

 What's the deal here? Is this a supported module? Should it appear in
 the doc index?
To me it looks like std.stdint belongs under phobos/std/c with all the other modules that publicly import something from druntime core.stdc. Examples here are std.c.stddef, std.c.stdio, std.c.string. A few like std.c.string have additional definitions over the core.stdc modules. -- dano
Dec 13 2014