Hi,
I wonder if there's a way to hide a class so only another object/class from the same module can instatiate new objects of the program.
I tried to declare the class as `static', which hides it, well enough. But given a instance of this class makes it possible to get around the lock by doing:
program p = object_program( my_obj ); object new_obj = p( args ... );
Any way to prevent this? Not a big deal, really, just a thought.
//Andreas