array-traits.hpp /usr/include/gecode/set.hh Gecode::ArrayTraits< VarArgArray< SetVar > > Gecode::ArrayTraits< VarArray< SetVar > > Gecode::ArrayTraits< SetVarArray > Gecode::ArrayTraits< SetVarArgs > Gecode /*-*-mode:C++;c-basic-offset:2;indent-tabs-mode:nil-*-*/ /* *Mainauthors: *GuidoTack<tack@gecode.org> *ChristianSchulte<schulte@gecode.org> * *Contributingauthors: *GaborSzokoli<szokoli@gecode.org> * *Copyright: *GuidoTack,2004 *ChristianSchulte,2004 *GaborSzokoli,2004 * *Lastmodified: *$Date:2011-07-1321:14:41+0200(Wed,13Jul2011)$by$Author:tack$ *$Revision:12200$ * *ThisfileispartofGecode,thegenericconstraint *developmentenvironment: *http://www.gecode.org * *Permissionisherebygranted,freeofcharge,toanypersonobtaining *acopyofthissoftwareandassociateddocumentationfiles(the *"Software"),todealintheSoftwarewithoutrestriction,including *withoutlimitationtherightstouse,copy,modify,merge,publish, *distribute,sublicense,and/orsellcopiesoftheSoftware,andto *permitpersonstowhomtheSoftwareisfurnishedtodoso,subjectto *thefollowingconditions: * *Theabovecopyrightnoticeandthispermissionnoticeshallbe *includedinallcopiesorsubstantialportionsoftheSoftware. * *THESOFTWAREISPROVIDED"ASIS",WITHOUTWARRANTYOFANYKIND, *EXPRESSORIMPLIED,INCLUDINGBUTNOTLIMITEDTOTHEWARRANTIESOF *MERCHANTABILITY,FITNESSFORAPARTICULARPURPOSEAND *NONINFRINGEMENT.INNOEVENTSHALLTHEAUTHORSORCOPYRIGHTHOLDERSBE *LIABLEFORANYCLAIM,DAMAGESOROTHERLIABILITY,WHETHERINANACTION *OFCONTRACT,TORTOROTHERWISE,ARISINGFROM,OUTOFORINCONNECTION *WITHTHESOFTWAREORTHEUSEOROTHERDEALINGSINTHESOFTWARE. * */ namespaceGecode{ classSetVarArgs; classSetVarArray; template<> classArrayTraits<VarArgArray<SetVar>>{ public: typedefSetVarArgsStorageType; typedefSetVarValueType; typedefSetVarArgsArgsType; }; template<> classArrayTraits<VarArray<SetVar>>{ public: typedefSetVarArrayStorageType; typedefSetVarValueType; typedefSetVarArgsArgsType; }; template<> classArrayTraits<SetVarArray>{ public: typedefSetVarArrayStorageType; typedefSetVarValueType; typedefSetVarArgsArgsType; }; template<> classArrayTraits<SetVarArgs>{ public: typedefSetVarArgsStorageType; typedefSetVarValueType; typedefSetVarArgsArgsType; }; } //STATISTICS:set-other