Forward declaration of boost class

Hi everyone!

I need to use boost.Random in some places of my program and I need to do a froward declaration of boost::hellekalek1995. I've tried to do it like this:
1
2
3
4
5
6
7
8
9
namespace boost
{
   class hellekalek1995;
}

class myClass
{
   boost::hellekalek1995* var_;
};

But it didn't compile :( The error is "error: using typedef-name 'boost::hellekalek1995' after 'class'"

Any clues?
Semicolon on line 4.
Doesn't work this way either :(
With or without a semicolon on line 4, it compiles on my VC++ 2008 Prof.
But it does not compile on my Xcode 3.1.3 :(
Topic archived. No new replies allowed.