Subject: [Boost-bugs] [Boost C++ Libraries] #1846: boost::addressof() doesn't work with function references
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-04-21 18:00:29
#1846: boost::addressof() doesn't work with function references
--------------------------+-------------------------------------------------
Reporter: eric_niebler | Owner: pdimov
Type: Bugs | Status: new
Milestone: Boost 1.36.0 | Component: None
Version: Boost 1.35.0 | Severity: Problem
Keywords: |
--------------------------+-------------------------------------------------
{{{
#include <boost/utility/addressof.hpp>
void foo() {}
int main() {
boost::addressof(foo); // boom
}
}}}
This also affects reference_wrapper and any other utility that makes use
of boost::addressof().
--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1846>
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