<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://programmingexamples.net/w/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://programmingexamples.net/w/index.php?action=history&amp;feed=atom&amp;title=CPP%2FBoost%2FBGL%2FGridGraphVertexIterator</id>
		<title>CPP/Boost/BGL/GridGraphVertexIterator - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://programmingexamples.net/w/index.php?action=history&amp;feed=atom&amp;title=CPP%2FBoost%2FBGL%2FGridGraphVertexIterator"/>
		<link rel="alternate" type="text/html" href="http://programmingexamples.net/w/index.php?title=CPP/Boost/BGL/GridGraphVertexIterator&amp;action=history"/>
		<updated>2026-06-13T12:33:03Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.23.5</generator>

	<entry>
		<id>http://programmingexamples.net/w/index.php?title=CPP/Boost/BGL/GridGraphVertexIterator&amp;diff=5145&amp;oldid=prev</id>
		<title>Daviddoria: Created page with '==GridGraphVertexIterator.cpp== &lt;source lang=&quot;cpp&quot;&gt; #include &lt;iostream&gt; #include &lt;boost/array.hpp&gt; #include &lt;boost/graph/grid_graph.hpp&gt;  int main(int argc, char* argv[])  {   ty…'</title>
		<link rel="alternate" type="text/html" href="http://programmingexamples.net/w/index.php?title=CPP/Boost/BGL/GridGraphVertexIterator&amp;diff=5145&amp;oldid=prev"/>
				<updated>2012-01-25T21:01:13Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;#039;==GridGraphVertexIterator.cpp== &amp;lt;source lang=&amp;quot;cpp&amp;quot;&amp;gt; #include &amp;lt;iostream&amp;gt; #include &amp;lt;boost/array.hpp&amp;gt; #include &amp;lt;boost/graph/grid_graph.hpp&amp;gt;  int main(int argc, char* argv[])  {   ty…&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==GridGraphVertexIterator.cpp==&lt;br /&gt;
&amp;lt;source lang=&amp;quot;cpp&amp;quot;&amp;gt;&lt;br /&gt;
#include &amp;lt;iostream&amp;gt;&lt;br /&gt;
#include &amp;lt;boost/array.hpp&amp;gt;&lt;br /&gt;
#include &amp;lt;boost/graph/grid_graph.hpp&amp;gt;&lt;br /&gt;
&lt;br /&gt;
int main(int argc, char* argv[]) &lt;br /&gt;
{&lt;br /&gt;
  typedef boost::grid_graph&amp;lt;2&amp;gt; Graph;&lt;br /&gt;
&lt;br /&gt;
  boost::array&amp;lt;std::size_t, 2&amp;gt; lengths = { { 5,5 } };&lt;br /&gt;
  Graph graph(lengths);&lt;br /&gt;
  boost::graph_traits&amp;lt;Graph&amp;gt;::vertex_iterator iterator = vertices(graph); // Compiler error - can't convert iterator to this iterator type&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==CMakeLists.txt==&lt;br /&gt;
&amp;lt;source lang=&amp;quot;cmake&amp;quot;&amp;gt;&lt;br /&gt;
cmake_minimum_required(VERSION 2.6)&lt;br /&gt;
&lt;br /&gt;
Project(GridGraphVertexIterator)&lt;br /&gt;
&lt;br /&gt;
set(Boost_USE_MULTITHREADED ON)&lt;br /&gt;
FIND_PACKAGE(Boost 1.38 COMPONENTS)&lt;br /&gt;
&lt;br /&gt;
INCLUDE_DIRECTORIES(${INCLUDE_DIRECTORIES} ${Boost_INCLUDE_DIRS})&lt;br /&gt;
LINK_DIRECTORIES(${LINK_DIRECTORIES} ${Boost_LIBRARY_DIRS})&lt;br /&gt;
&lt;br /&gt;
ADD_EXECUTABLE(GridGraphVertexIterator GridGraphVertexIterator.cpp)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Daviddoria</name></author>	</entry>

	</feed>