
Hi, In core/nothing.hpp, "nothing" is defined as: null_actor const nothing = null_actor(); which doesn't make it an actor, rather an "actor base". Shouldn't it rather be defined as something like: actor<null_actor> const nothing = null_actor(); Thanks, François

Francois Barel wrote:
Hi,
In core/nothing.hpp, "nothing" is defined as: null_actor const nothing = null_actor(); which doesn't make it an actor, rather an "actor base".
Shouldn't it rather be defined as something like: actor<null_actor> const nothing = null_actor();
Yep. That is correct. Fixed. Regards, -- Joel de Guzman http://www.boostpro.com http://spirit.sf.net

on Mon Feb 23 2009, Francois Barel <frabar666-AT-gmail.com> wrote:
Hi,
In core/nothing.hpp, "nothing" is defined as: null_actor const nothing = null_actor(); which doesn't make it an actor, rather an "actor base".
Shouldn't it rather be defined as something like: actor<null_actor> const nothing = null_actor();
This is funny. I have a talk about Spirit that's subtitled, "Everything's a Parser" :-) -- Dave Abrahams BoostPro Computing http://www.boostpro.com
participants (3)
-
David Abrahams
-
Francois Barel
-
Joel de Guzman