Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c++ > #43893
| From | Nobody <nobody@nowhere.invalid> |
|---|---|
| Newsgroups | comp.lang.c++ |
| Subject | Re: Nice graphs, how to write? |
| Date | 2016-07-25 12:47 +0100 |
| Organization | A noiseless patient Spider |
| Message-ID | <pan.2016.07.25.11.47.31.640000@nowhere.invalid> (permalink) |
| References | <7186f3fa-f257-4498-b174-8f77174fc74a@googlegroups.com> |
On Mon, 25 Jul 2016 03:00:31 -0700, malcolm.mclean5 wrote: > Now if we use shared pointers Are nodes with zero incoming edges allowed? If they are, then there wouldn't seem to be much point in using shared pointers. And if you allow nodes with neither incoming nor outgoing edges, then node lifetime is dictated by the application rather than by topology. If you want to be able to clone a graph, it's probably easier to use integer indices for node references, rather than pointers.
Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Nice graphs, how to write? malcolm.mclean5@btinternet.com - 2016-07-25 03:00 -0700
Re: Nice graphs, how to write? Nobody <nobody@nowhere.invalid> - 2016-07-25 12:47 +0100
Re: Nice graphs, how to write? malcolm.mclean5@btinternet.com - 2016-07-25 04:58 -0700
Re: Nice graphs, how to write? Paavo Helde <myfirstname@osa.pri.ee> - 2016-07-25 15:30 +0300
Re: Nice graphs, how to write? malcolm.mclean5@btinternet.com - 2016-07-25 06:01 -0700
Re: Nice graphs, how to write? Paavo Helde <myfirstname@osa.pri.ee> - 2016-07-25 17:55 +0300
Re: Nice graphs, how to write? Alain Ketterlin <alain@universite-de-strasbourg.fr.invalid> - 2016-07-25 15:43 +0200
Re: Nice graphs, how to write? malcolm.mclean5@btinternet.com - 2016-07-25 07:18 -0700
Re: Nice graphs, how to write? Frank Tetzel <s1445051@mail.zih.tu-dresden.de> - 2016-07-26 00:12 +0200
Re: Nice graphs, how to write? Öö Tiib <ootiib@hot.ee> - 2016-07-26 01:11 -0700
csiph-web