Hi,

I think you need to brush up on your C++, that's the type signature, not the 
code you should write.  Just check our documentation, you can construct an 
IntVarArgs from a vector v like this IntVarArgs x(v);

Cheers,
Guido

On 02/10/2013, at 1:21 PM, peter Tomson <pikapikanaou...@gmail.com> wrote:

> hi all !
>  
> in my model i have to get the interger variables from a vector , So i used 
> this code that i found in MPG : 
> 
> IntVarArgs (const std::vector< IntVar > &a);
> 
> but i have an error about the const : type name not allowed!!!!!!!!!!
> 
> honnestly i declared an IntVarArray R, after that i wrote that code, So do i 
> do any thing wrong ??? Do i mis ay thing ??
> 
> Thank you very much for your hepl 
> 
> PETER
> 
> _______________________________________________
> Gecode users mailing list
> users@gecode.org
> https://www.gecode.org/mailman/listinfo/gecode-users


_______________________________________________
Gecode users mailing list
users@gecode.org
https://www.gecode.org/mailman/listinfo/gecode-users

Reply via email to