Hello,
I have an API like this:
class Foo
{
public:
Foo(char *filename);
Foo(char *buffer, int size);
[...]
};
To make both construction forms work, I have wrapped the second constructor
as a staticmethod factory, using /Array/ and /ArraySize/ (this is because
overload resolution
On Wednesday 22 March 2006 1:43 pm, Giovanni Bajo wrote:
Hello,
I have an API like this:
class Foo
{
public:
Foo(char *filename);
Foo(char *buffer, int size);
[...]
};
To make both construction forms work, I have wrapped the second constructor
as a staticmethod factory,