[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Monotone-devel] C++11
From: |
Stephen Leake |
Subject: |
Re: [Monotone-devel] C++11 |
Date: |
Sun, 18 May 2014 17:51:06 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (windows-nt) |
Markus Wanner <address@hidden> 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
Re: [Monotone-devel] C++11, Markus Wanner, 2014/05/16
Re: [Monotone-devel] C++11, Stephen Leake, 2014/05/16
Re: [Monotone-devel] C++11, Stephen Leake, 2014/05/16