[C++-sig] class scope

Jochen Heckl jochen.heckl at novatrix.de
Mon Feb 17 11:16:28 CET 2003


Hello everybody,
How can I leave a scope while exporting classes.
Entering a scope works fine, but I can't return ro global scope.
I'm using MSVC .net eith the latest version of boost_python.

I have the following code

scope InX = class_< X .....
	;

// from now on every declaration is in  scope X:: - works fine
....

// this should return to global scope - but  does not
scope();

class_< Y ....
	;

// Y is still defined in scope X::. What am I doing wrong ?
// can somebody help please....



Jochen Heckl
NovaTrix GmbH
 
Ettishofer Str. 10C
88250 Weingarten
 
EMail: jochen.heckl at novatrix.de <mailto:jochen.heckl at novatrix.de>
Phone: 0049 (0) 751 50921- 57
Fax: 0049 (0) 751 50921- 31





More information about the Cplusplus-sig mailing list