help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: C++ namespaces


From: Søren Hauberg
Subject: Re: C++ namespaces
Date: Wed, 05 Nov 2008 22:00:48 +0100

ons, 05 11 2008 kl. 15:31 -0500, skrev John W. Eaton:
> On  5-Nov-2008, Søren Hauberg wrote:
> | Will something like
> | 
> | namespace octave {
> | #include <octave/oct.h>
> | };
> | 
> | work for you? I'm no C++ expert, so I'm not sure of this will have
> | unwanted side-effects.
> 
> I don't think this will work because the Octave libraries would still
> be compiled without the namespace tag so linking would fail.

Yeah, I was afraid you smart guys would say something like that...
Then I guess you'll either have to change Octave or your other library
to have a namespace :-(

Søren



reply via email to

[Prev in Thread] Current Thread [Next in Thread]