[cable] Problem with static method
Brad King
brad.king at kitware.com
Fri Apr 18 11:50:32 EDT 2003
Hi Anton,
I think your problems may be caused by this:
namespace wrappers
{
typedef std::string string;
typedef myClass myClass;
}
You are using "string" as the name of the "std::string" class in Tcl.
Tcl reserves the "string" command as one of its standard commands. Try
renaming it to "stdstring" or something else.
By the way, your method
static bool SetLoD(const MY_TYPE lod);
uses a top-level cv qualifier on a parameter type. C++ specifies that
function arguments' top-level qualifiers are ignored.
-Brad
More information about the cable
mailing list