Subject: Re: [Boost-bugs] [Boost C++ Libraries] #1719: [addressof] Can't obtain the address of an instance of an anonymous struct
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-04-21 21:53:44
#1719: [addressof] Can't obtain the address of an instance of an anonymous struct
--------------------------------------------------------+-------------------
Reporter: Jean-François Bastien <jfbastien_at_[hidden]> | Owner: pdimov
Type: Bugs | Status: closed
Milestone: Boost 1.36.0 | Component: None
Version: Boost 1.34.1 | Severity: Problem
Resolution: invalid | Keywords:
--------------------------------------------------------+-------------------
Changes (by pdimov):
* status: new => closed
* resolution: => invalid
Comment:
This is not a bug. The C++ standard says that the unnamed type of noName
cannot be used as a template argument. There is nothing that we can do to
make addressof work with noName, except possibly making it a macro.
--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1719#comment:2>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:57 UTC