Boost logo

Boost Users :

Subject: Re: [Boost-users] A doubt in Boost Format
From: jiryih.tsaur_at_[hidden]
Date: 2011-06-14 16:42:52


Or if you know the element type of the vectors, override operator new of the element.

Jiryih Tsaur

----- Original Message -----
From: Marshall Clow [mailto:mclow.lists_at_[hidden]]
Sent: Tuesday, June 14, 2011 02:07 PM
To: boost-users_at_[hidden] <boost-users_at_[hidden]>
Subject: Re: [Boost-users] A doubt in Boost Format

On Jun 14, 2011, at 10:57 AM, Gokulakannan Somasundaram wrote:

> Can someone please help me on this? We have a memory pool based approach and we want all the allocations to be redirected to the pool. But there are some std::vectors inside boost::format object. Can someone suggest me a way to deal with this?

Why don't you override the global operator new?

-- Marshall

Marshall Clow Idio Software <mailto:mclow.lists_at_[hidden]>

A.D. 1517: Martin Luther nails his 95 Theses to the church door and is promptly moderated down to (-1, Flamebait).
        -- Yu Suzuki

_______________________________________________
Boost-users mailing list
Boost-users_at_[hidden]
http://lists.boost.org/mailman/listinfo.cgi/boost-users

PLEASE READ: This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please delete it and all copies from your system, destroy any hard copies and notify the sender. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. Nomura Holding America Inc., Nomura Securities International, Inc, and their respective subsidiaries each reserve the right to monitor all e-mail communications through its networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorized to state the views of such entity. Unless otherwise stated, any pricing information in this message is indicative only, is subject to change and does not constitute an offer to deal at any price quoted. Any reference to the terms of executed transactions should be treated as preliminary only and subject to our formal written confirmation.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net