Boost logo

Boost Users :

Subject: Re: [Boost-users] [statechart] optional<event> - warning
From: Andreas Huber (ahd6974-spamboostorgtrap_at_[hidden])
Date: 2010-08-05 15:31:10

Hi Igor

> In class statechart::event I see 2 overloads of operator new:
> void * operator new( std::size_t size )
> void * operator new( std::size_t, void * p )
> But only 1 operator delete:
> void operator delete( void * pEvent )
> i.e., no placement delete.
> Is this intentional?

Yes, the matching placement operator delete would have an empty body.
However, I will add one to silence the warning. May I ask you to open a
ticket for this?


Andreas Huber
When replying by private email, please remove the words spam and trap
from the address shown in the header. 

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at