daviddoria/ProgrammingExamplesWiki — Issue #1: Remove boost:: qualifier on functions from graph concepts
Author: daviddoria
Created: 2011-11-15 19:46:18+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).