2
0
mirror of https://github.com/boostorg/graph.git synced 2026-02-01 08:32:11 +00:00

changed REQUIRES to function_requires

[SVN r8279]
This commit is contained in:
Jeremy Siek
2000-11-21 21:36:39 +00:00
parent 69020e939c
commit 35285cc88e
11 changed files with 34 additions and 33 deletions

View File

@@ -129,7 +129,7 @@ Return type: <TT>vertex_descriptor</TT>
{
typedef typename boost::graph_traits&lt;G&gt;::edge_descriptor edge_descriptor;
void constraints() {
REQUIRE(G, MutableGraph);
function_requires&lt; MutableGraph&lt;G&gt; &gt;();
v = add_vertex(g, vp);
p = add_edge(g, u, v, ep);
}