@CGamesPlay,
I'm forward declaring like you showed, I just wrote it wrong:
template <class T> class Handle;
Anyways, I'm going about doing things in a different way. I'll learn
how to use Persistend vs Handle object better as I use the code more.
On Sep 10, 1:42 pm, CGamesPlay <[EMAIL PROTECTED]> wrote:
> On Sep 10, 9:53 am, vlad <[EMAIL PROTECTED]> wrote:
>
> > ----------------------------------------------------------------------------
> > #include <v8.h>
>
> > namespace v8
> > {
> > class Script;
> > template <class T> Handle <class Y>; // ... or however this is
> > declared in v8.h
> > template<class T> Persistent<class Y>; // ... or however this is
> > declared in v8.h
>
> > }
>
> Are you forward declaring like that, or are you #including? If you are
> forward declaring, you should do this instead:
>
> template <class T> class Handle;
> template<class T> class Persistent;
--~--~---------~--~----~------------~-------~--~----~
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
-~----------~----~----~----~------~----~------~--~---