Re: task! with a static template method gives "null this"

2013-02-23 Thread Lee Braiden
On Sat, 23 Feb 2013 17:09:06 -0800, Ali Çehreli wrote: > The following is minimized code, which does not have any compilation > errors: > > [snip] > > You can replace my stub functions with your code to help identify the > problem. > > Ali Thanks Ali; much appreciated. -- Lee

Re: task! with a static template method gives "null this"

2013-02-23 Thread Ali Çehreli
On 02/23/2013 03:23 PM, Lee Braiden wrote: Hi all, I'm defining a template class with a static method, and adding a call to that to a taskpool. However, when I run it, I get a "null this" error from parallelism.d. Here's the minimised code: class Population(GeneType) { alias Populatio

task! with a static template method gives "null this"

2013-02-23 Thread Lee Braiden
Hi all, I'm defining a template class with a static method, and adding a call to that to a taskpool. However, when I run it, I get a "null this" error from parallelism.d. Here's the minimised code: class Population(GeneType) { alias Population!(GeneType) ThisType; static void