The problem we're having is that without a concept of constness
in Python, we have the risk of python-code changing A::zero,
A::one or QString::null.
>
Proper support for const has been on the TODO list for a long time - just
haven't got around to it yet.
Thanks Phil, just checking if ther
On Tuesday 11 July 2006 11:15 pm, Nigel Stewart wrote:
> Hello all,
>
> I'm sure this issue has come up before, in one way or another.
>
> Our issue is to do with static const class member variables
> such as:
>
> class A
> {
> public:
> static const A zero;
> static const A one;
> ...
>
Hello all,
I'm sure this issue has come up before, in one way or another.
Our issue is to do with static const class member variables
such as:
class A
{
public:
static const A zero;
static const A one;
...
}
...In much the same manner as Qt provides QString::null.
The problem we're ha