Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[Manta] Re: Forward declaration with namespace?


Chronological Thread 
  • From: Li-Ta Lo < >
  • To: Roni Choudhury < >
  • Cc:
  • Subject: [Manta] Re: Forward declaration with namespace?
  • Date: Fri, 06 Jun 2008 11:42:56 -0600
  • Organization: Los Alamos National Lab


On Fri, 2008-06-06 at 11:37 -0600, Roni Choudhury wrote:
> namespace Manta{
>    class Group;
> 
>    // Other code here.
> }
> 

Doe it mean "other code" will be in the Manta namespace as well?

What I want to do is something like

// forward declare Manta classes without #include Manta headers
// as per VTK coding style 
class Manta::Group;

class vtkMantaRenderer : public vtkRenderer {
        // code
private:
        Manta::Group *group;    
};

Ollie





Archive powered by MHonArc 2.6.16.

Top of page