On 14.12.2012 07:38, Miha Vitorovic wrote: > On 14.12.2012 4:21, Branko Čibej wrote: >> The only reason for trying for C++11 is, as far as I'm concerned, >> getting std::shared_ptr <memory>. The C++ bindings I'm slowly >> wrapping my head around will need it, and I don't want to even >> consider using standard containers without it. The only alternative >> to C++11 is using Boost, and that's a last resort grabbing for >> straws, as far as I'm concerned. -- Brane P.S.: Nothing wrong with >> Boost as such, of course; but including <boost/shared_ptr.hpp> tends >> to pull in some 90% of Boost's headers, and I consider that overkill. > > If your only need is shared_ptr why not use std::tr1? A quick research > shows that it's bundled with all compilers.
Yes, I realised that and already changed the code that way. It's not exactly bundled with /all/ compilers, but that's a detail I wont' worry about right now. -- Brane -- Branko Čibej Director of Subversion | WANdisco | www.wandisco.com