Boost logo

Boost Users :

Subject: Re: [Boost-users] Sentinel vertex?
From: Jeremiah Willcock (jewillco_at_[hidden])
Date: 2010-05-22 09:40:22


On Sat, 22 May 2010, Eric Fowler wrote:

> Does BGL define a sentinel value that is always invalid as a vertex? I
> am thinking of something analogous to the null char at the end of
> ASCIIZ strings.

Yes -- boost::graph_traits<G>::null_vertex().

-- Jeremiah Willcock


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net