andres::graph
Main Page
Namespaces
Classes
github-graph
include
andres
graph
edge-value.hxx
1
#pragma once
2
#ifndef ANDRES_GRAPH_EDGE_VALUE_HXX
3
#define ANDRES_GRAPH_EDGE_VALUE_HXX
4
5
namespace
andres {
6
namespace
graph {
7
9
template
<
class
T>
10
struct
UnitEdgeValueIterator
{
11
typedef
std::ptrdiff_t
difference_type
;
12
typedef
T
value_type
;
13
typedef
value_type
*
pointer
;
14
typedef
value_type
&
reference
;
15
typedef
std::random_access_iterator_tag
iterator_category
;
16
17
value_type
operator[]
(
const
std::size_t)
const
18
{
return
1; }
19
};
20
21
}
// namespace graph
22
}
// namespace andres
23
24
#endif // #ifndef ANDRES_GRAPH_EDGE_VALUE_HXX
Generated on Fri Feb 12 2016 10:41:05 for andres::graph by
1.8.1.2