[ace-users] References to 'std' namespace members
Johnny Willemsen
jwillemsen at remedy.nl
Tue Jun 26 07:16:08 CDT 2007
Hi,
Thanks for using the PRF form. Can you provide unified diffs to fix your
issues, then we can easily apply those, probably the easiest is to add the
diffs to bugzilla (http://deuce.doc.wustl.edu/bugzilla/index.cgi)
Regards,
Johnny Willemsen
Remedy IT
Postbus 101
2650 AC Berkel en Rodenrijs
The Netherlands
www.theaceorb.nl / www.remedy.nl
*** Integrated compile and test statistics see
http://scoreboard.theaceorb.nl ***
*** Commercial service and support for ACE/TAO/CIAO ***
*** See http://www.theaceorb.nl/en/support.html ***
> ACE VERSION: 5.5.8
>
> Some ACE macros reference to 'std' namespace members in form std::XXX
>
> For example
>
> # define ACE_bad_alloc std::bad_alloc
> # define ACE_nothrow std::nothrow
>
> This prevents using some macros (ex., ACE_NEW macro) in namespaces of
> form ::XXX::YYY::std
>
> namespace XXX {
> namespace YYY {
> namespace std {
> ...
> ACE_NEW(p, SOME_CLASS()); // compilation error
> ...
> };
> };
> };
>
> Is it feature or bug? Is it possible to use FQN references in
> form ::std::XXX instead?
>
> --
> Pavel Zaichenko
> Chief Expert,
> IVL Equipment & Engineering, Ltd.
> Phone: +380(44)451-87-33
> mailto:zpf at ivl.ua
> mailto:zpf at ivl.kiev.ua
> http://www.ivl.ua/
>
More information about the Ace-users
mailing list