Hi,

When I run the following code:

 

int main()

{

  boost::circular_buffer_space_optimized<int> buf;

  std::cout << buf.size() << std::endl;

  buf.push_back(1);

  std::cout << buf.size() << std::endl;

}

 

I get the output

0

0

 

Is this a bug? This is boost 1.38, gcc 4.3.2

It works fine with boost 1.35, gcc 4.1.2 (gives the output 0,1)

 

TIA

Birju

 

 

 

Schneider Trading
4th Floor,
25 Copthall Avenue
London EC2R 7BP


Message from: Birju.Prajapati@schneidertrading.com
Message to: boost-users@lists.boost.org
Attached files: 0

This e-mail and any files transmitted with it are confidential, may be legally privileged, and are for the sole use of the intended recipient. Copyright in this e-mail and any accompanying document created by us is owned by us. If you are not the intended recipient of this e-mail or any part of it please telephone our IT Department at the number shown above or by e-mail at info@schneidertrading.com.

You should not use or disclose to any other person the contents of this e-mail or its attachments (if any), nor take copies. This e-mail is not a representation or warranty and is not intended nor should it be taken to create any legal relations, contractual or otherwise.

Schneider Trading Associates Ltd (Registration No. 3692131) is incorporated in England and Wales and the registered office is at 25 Copthall Avenue, London EC2R 7BP. The company is authorised and regulated by the Financial Services Authority