daviddoria/BGLExamples — Issue #2: Remove boost:: qualifier on functions from graph concepts
Author: daviddoria
Created: 2012-01-26 21:23:57+00:00
State: open

Please do not use the boost:: qualifier on functions from graph concepts (edges(), add_edge(), ...). It works on built-in graph types, but will not work if a user generalizes their algorithm to work generically (in particular, on graph types that are not in the boost namespace). This would also break if the graph classes were moved into another namespace and then imported into boost. You do need the namespace qualifier (or a "using" directive) to get types from traits classes and to get property map tags (both types and values).