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:
committed by
Murray Cumming
parent
1cfeb9ad6b
commit
35f6a2dc27
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user