On Monday, 9 January 2012 at 21:14:05 UTC, Robert Clipsham wrote:
Are exceptions in safe D possible? I started trying to make my
code @safe (there's no reason why it can't be as far as I'm
aware), but I hit the following issue:
@safe
class MyException : Exception
{
this()
{
On Thursday, 29 December 2011 at 20:08:45 UTC, bls wrote:
import std.stdio;
import std.functional;
int main(string[] argv)
{
extern(Windows) int delegate( int i) dg;
alias dg callback;
callback = toDelegate(test);
On Wednesday, 28 December 2011 at 23:45:05 UTC, Tal wrote:
Can I do something like this :
__
extern (Windows) LRESULT delegate (HWND hWnd, UINT message,
WPARAM wParam,
LPARAM lParam) MyWinProcDelegate;
this() {