|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r80746 - in branches/release: . boost boost/utility
From: eric_at_[hidden]
Date: 2012-09-28 18:21:33
Author: eric_niebler
Date: 2012-09-28 18:21:32 EDT (Fri, 28 Sep 2012)
New Revision: 80746
URL: http://svn.boost.org/trac/boost/changeset/80746
Log:
result_of: merge [80732] from trunk
Properties modified:
branches/release/ (props changed)
branches/release/boost/ (props changed)
branches/release/boost/utility/ (props changed)
Text files modified:
branches/release/boost/utility/result_of.hpp | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
Modified: branches/release/boost/utility/result_of.hpp
==============================================================================
--- branches/release/boost/utility/result_of.hpp (original)
+++ branches/release/boost/utility/result_of.hpp 2012-09-28 18:21:32 EDT (Fri, 28 Sep 2012)
@@ -71,15 +71,14 @@
struct result_of_private_type {};
struct result_of_weird_type {
- template<typename T>
- friend result_of_weird_type operator,(T const &, result_of_weird_type);
friend result_of_private_type operator,(result_of_private_type, result_of_weird_type);
};
typedef char result_of_yes_type; // sizeof(result_of_yes_type) == 1
typedef char (&result_of_no_type)[2]; // sizeof(result_of_no_type) == 2
-result_of_no_type result_of_is_private_type(result_of_weird_type);
+template<typename T>
+result_of_no_type result_of_is_private_type(T const &);
result_of_yes_type result_of_is_private_type(result_of_private_type);
template<typename C>
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk