Re: [gecode-users] IntVarArgs of unknown size...

2007-05-21 Thread Guido Tack
Sébastien Mouthuy wrote: I have a class with an IntVarArgs as instance variable, but its size is unknown at creation of my class. How can I safely set the size of my IntVarArgs in a function that is not my constructor. To complement Christian's email, the appropriate data structure for sto

RE: [gecode-users] IntVarArgs of unknown size...

2007-05-21 Thread Christian Schulte
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sébastien Mouthuy Sent: Monday, May 21, 2007 8:35 PM To: [EMAIL PROTECTED] Subject: [gecode-users] IntVarArgs of unknown size... Hello everybody, I have a class with an IntVarArgs as instance variable, but its

[gecode-users] IntVarArgs of unknown size...

2007-05-21 Thread Sébastien Mouthuy
Hello everybody, I have a class with an IntVarArgs as instance variable, but its size is unknown at creation of my class. How can I safely set the size of my IntVarArgs in a function that is not my constructor. There is the allocate(int) function, but it is protected, and I am not sure w