Re: C++11
Stephen Leake <[email protected]>
| Newsgroups | gmane.comp.version-control.monotone.devel |
|---|---|
| Message-ID | <[email protected]> |
Markus Wanner <[email protected]> writes: >> Apparently 'std::shared_ptr<void>' is illegal, and that is enforced in >> gcc 4.9.0 > > Yeah, seems like a weird construct. > >> cow_trie::_data is set by the 'walk' code above; apparently we have two >> node types. So to use a shared_ptr, we need a union of those types. > > ..or give the two a common base class? done, tested, pushed. -- -- Stephe