On Wednesday, 29 June 2016 at 15:40:57 UTC, Andrea Fontana wrote:
On Wednesday, 29 June 2016 at 15:33:58 UTC, Guido wrote:
The problem is actually much more profound. The classes need
to be declared outside the main() scope. WTF?!?!?!
I put them in main() so they would be in scope. This seems
On Wednesday, 29 June 2016 at 15:18:53 UTC, Guido wrote:
I'm using a static class member in a parent class, but can't
get the compiler to see it.
Class Grid{
public:
uint xdim;
}
Class Holder : Grid {
uint var;
}
Any of the following should work, but none of them do:
Grid.xdim = 0;
gri
I'm using a static class member in a parent class, but can't get
the compiler to see it.
Class Grid{
public:
uint xdim;
}
Class Holder : Grid {
uint var;
}
Any of the following should work, but none of them do:
Grid.xdim = 0;
grid = new Grid;
grid.xdim = 0;
holder = new Holder;
holder.
have a look at `dub convert` - in your case e.g. `dub convert
-f sdl`
This dub convert command is weird. It works as `cat dub.json |
dub convert -sdl' and makes a nice SDL file called dub.sdl, but
it blows away the source file, which I've never seen before with
piped output from cat. I don't
On Thursday, 16 June 2016 at 06:07:55 UTC, Seb wrote:
On Thursday, 16 June 2016 at 05:31:26 UTC, Guido wrote:
It would seem that by running the file through mixin, you can
simply create the vars you want in scope. The drawback being
random code execution. Is there any way to sanitize mixin code
It would seem that by running the file through mixin, you can
simply create the vars you want in scope. The drawback being
random code execution. Is there any way to sanitize mixin code
from user-configurable file?
Once that's shot down, does anyone know a .json to .sdl converter
program