iter.icc
Go to the documentation of this file.00001 /* 00002 * Main authors: 00003 * Christian Schulte <schulte@gecode.org> 00004 * 00005 * Contributing authors: 00006 * Guido Tack <tack@gecode.org> 00007 * 00008 * Copyright: 00009 * Christian Schulte, 2003 00010 * Guido Tack, 2004 00011 * 00012 * Last modified: 00013 * $Date: 2005-08-08 12:06:00 +0200 (Mon, 08 Aug 2005) $ by $Author: schulte $ 00014 * $Revision: 2169 $ 00015 * 00016 * This file is part of Gecode, the generic constraint 00017 * development environment: 00018 * http://www.gecode.org 00019 * 00020 * See the file "LICENSE" for information on usage and 00021 * redistribution of this file, and for a 00022 * DISCLAIMER OF ALL WARRANTIES. 00023 * 00024 */ 00025 00026 namespace Gecode { namespace Int { 00027 00028 template <class View> 00029 forceinline 00030 ViewValues<View>::ViewValues(void) {} 00031 00032 template <class View> 00033 forceinline 00034 ViewValues<View>::ViewValues(const View& x) { 00035 ViewRanges<View> r(x); 00036 Iter::Ranges::ToValues<ViewRanges<View> >::init(r); 00037 } 00038 00039 template <class View> 00040 forceinline void 00041 ViewValues<View>::init(const View& x) { 00042 ViewRanges<View> r(x); 00043 Iter::Ranges::ToValues<ViewRanges<View> >::init(r); 00044 } 00045 00046 }} 00047 00048 // STATISTICS: int-var 00049