Re: gtkmm and C++0x (was: gtkmm and boost)



Chris Vine wrote:
If in doubt check the documentation - in fact, I see on checking that
the most recent versions of boost::shared_ptr<> now allow a third
constructor argument comprising a custom allocator.


FYI, there's already a proposal
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2351.htm
which will be incorporated into TR1 soon.

So glibmm could use boost::shared_ptr<> now if wanted: although if
glibmm sticks to its present approach to factory functions, it would not
be necessary to use such custom allocators.


Or directly migrates to TR1 shared_ptr when it becomes mature, which may not happen soon.

Instead of incorporating the Boost into gtkmm as my initial post, maybe the coming C++0x components are more acceptable.

Chris




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]