Hey guys!
I have project with 3.5k strings of code. Now I'm writing
documentation for this.
I'm using scod, ddox based generator, but after generation I get
pages where all my modules is not grouped by packages. What i'm
doing wrong? Thanks.
Hey, guys!
After many attempts pmap function was realized by me. This is
analogous to taskPool.amap function, but I do not know how much
he is good. In simple tests, it showed a corresponding
acceleration. I would like to ask you to advise me options to
improve this function. If all this makes
On Wednesday, 11 May 2016 at 12:40:20 UTC, Daniel Kozak wrote:
Dne středa 11. května 2016 13:25:50 CEST, VlasovRoman via
Digitalmars-d-learn napsal(a):
Hey, guys!
After many attempts pmap function was realized by me. This is
analogous to taskPool.amap function, but I do not know how
much
I have some code.
//client.d
import std.stdio;
import std.socket;
import std.conv;
void main() {
Socket client = new TcpSocket(AddressFamily.INET);
autoaddr = new InternetAddress("localhost", 2021);
autoaddrServer = new InternetAddress("localhost",
2017);
I have some code:
import std.stdio;
auto dot(T, R)(T x, R y) {
return x * y;
}
struct Vector(T)
{
alias selftype = Vector!T;
int len = 5;
pure:
const @property{
static if( is( typeof( dot( selftype.init, selftype.init
) ) ) ){
auto len2() {return len * len;
I get it in dmd 2.068.2 and dmd 2.069-b2. I think, that this
behavior some strange:
I have some code:
enum int m = 10;
enum int n = 5;
ubyte[m][n] array;
for(int x = 0; x < m; x++) {
for(int y = 0; y < n; y++) {
array[x][y] = cast(ubyte)(x + y);
}
}
In r
On Friday, 16 October 2015 at 02:46:03 UTC, Rikki Cattermole
wrote:
On 16/10/15 3:39 PM, VlasovRoman wrote:
enum int m = 10;
enum int n = 5;
ubyte[m][n] array;
for(int x = 0; x < m; x++) {
for(int y = 0; y < n; y++) {
array[x][y] = cast(ubyte)(x + y);
}
}
First on the left(