Re: [boost] [log] Review-ready version in the Vault

The latest version of boost.log (from the repository) fails to compile under gcc 4.1.0 (although it does fine under 4.1.2). I see the same errors compiling against both 1.38 and 1.39. The problems appears to lie with inherits from mpl. I can provide error logs if requested. Many Thanks, Mike Stricklin

Michael C. Stricklin wrote:
The latest version of boost.log (from the repository) fails to compile under gcc 4.1.0 (although it does fine under 4.1.2). I see the same errors compiling against both 1.38 and 1.39.
The problems appears to lie with inherits from mpl. I can provide error logs if requested.
Yes, logs would be appreciated.

is there memory management related class in boost? i.e. memory pool, cache align allocator,etc

On Wed, 15 Jul 2009 13:17:57 +0800, <jon_zhou@agilent.com> wrote:
is there memory management related class in boost?
i.e. memory pool, cache align allocator,etc
There is a memory pool in boost: http://www.boost.org/doc/libs/1_39_0/libs/pool/doc/index.html As well as smart pointers: http://www.boost.org/doc/libs/1_39_0/libs/smart_ptr/smart_ptr.htm -- EA

On Wed, Jul 15, 2009 at 12:41 AM, Edouard A.<edouard@fausse.info> wrote:
On Wed, 15 Jul 2009 13:17:57 +0800, <jon_zhou@agilent.com> wrote:
is there memory management related class in boost?
i.e. memory pool, cache align allocator,etc
There is a memory pool in boost:
http://www.boost.org/doc/libs/1_39_0/libs/pool/doc/index.html
As well as smart pointers:
http://www.boost.org/doc/libs/1_39_0/libs/smart_ptr/smart_ptr.htm
And the smart pointers have nice things like overriding the destructor as a parameter so you can have it do things like return a pointer back to a memory pool.

On Wed, 15 Jul 2009 06:58:29 -0600, OvermindDL1 <overminddl1@gmail.com> wrote:
And the smart pointers have nice things like overriding the destructor as a parameter so you can have it do things like return a pointer back to a memory pool.
Combining the two is indeed a good thing. I wrote an example at the end of this post: http://www.bureau14.fr/blogea/2009/06/reducing-heap-pressure/ (Sorry the post is a tad long, just scroll down to see the example) -- EA
participants (5)
-
Andrey Semashev
-
Edouard A.
-
jon_zhou@agilent.com
-
Michael C. Stricklin
-
OvermindDL1