Boost logo

Boost :

From: jsiek_at_[hidden]
Date: 2000-08-30 12:52:30


There is one place, test/graph.cpp. This isn't an algorithm, but the
common return type certainly made the test code easier to write
(one generic tests versions splitting the test based on graph/multigraph).

Gary Powell writes:
> Well, in no place in GGCL (examples included) does anything use the result
> of add_edge. There is one place where the result is printed to std::cout.
> So the question could be, is it worth the effort of MutableGraph to even
> bother reporting the failure? Ok, So that's a rhetorical question, and I'm
> as guilty as most programmers in ignoring the result of functions. I
> suppose if it really matters, I'd check, i.e. heart monitor code, airplane
> control code. But since you don't appear to need this result I'd change the
> return type.
>
> I could be swayed by a generic algorithm that actually used it.
>
> -Gary-
>
> gary.powell_at_[hidden]
>
>
> PS
> Jens's the VTL library uses template templates. It's more a handy way of
> hiding implementation details than required.
>
>
>
>


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk