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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.