summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouglas Gregor <doug.gregor@gmail.com>2001-07-01 02:17:36 +0000
committerDouglas Gregor <doug.gregor@gmail.com>2001-07-01 02:17:36 +0000
commitf7cd1381d9f5b78f4c11f72177c9a736325f2a89 (patch)
tree190a35cd9263d7e8e93e27e54f3610c066dd5eb7
parent4c1acee13aeaa10d2aa50a20f95f66d2e81278bc (diff)
downloadboost-f7cd1381d9f5b78f4c11f72177c9a736325f2a89.tar.gz
The void partial specialization of the function classes has been removed in
favor of a common interface. Regardless of the compiler's capabilities, the result type of a Boost.Function function object that was declared void will be "unused". This allows the result of a Boost.Function function object to be passed as a parameter regardless of whether the function is declared as returning void. It greatly simplifies the use of Boost.Function objects with wrapper objects (i.e., when the side effects are important, but the result isn't: consider binding and composition when calling a std::for_each loop) [SVN r10491]
m---------libs/function0
1 files changed, 0 insertions, 0 deletions
diff --git a/libs/function b/libs/function
-Subproject 53f9f4484f97138ee0c6fe8a54307eb1fc23c6f
+Subproject 1f248735778e6fe3c009591729252ff237897d1