2
0
mirror of https://github.com/boostorg/graph.git synced 2026-01-28 19:22:11 +00:00

examples: C++11: Use using instead of typedef

This commit is contained in:
Murray Cumming
2016-05-04 12:40:48 +02:00
committed by Murray Cumming
parent 1cfeb9ad6b
commit 35f6a2dc27
171 changed files with 912 additions and 1011 deletions

View File

@@ -30,7 +30,7 @@ int main()
y
};
char name[] = "rstuvwxy";
typedef std::vector< std::list< int > > Graph;
using Graph = std::vector< std::list< int > >;
Graph g = { { v }, // r
{ r, r, w }, // s
{ x }, // t