diff options
author | Douglas Gregor <doug.gregor@gmail.com> | 2001-07-01 02:17:36 +0000 |
---|---|---|
committer | Douglas Gregor <doug.gregor@gmail.com> | 2001-07-01 02:17:36 +0000 |
commit | f7cd1381d9f5b78f4c11f72177c9a736325f2a89 (patch) | |
tree | 190a35cd9263d7e8e93e27e54f3610c066dd5eb7 | |
parent | 4c1acee13aeaa10d2aa50a20f95f66d2e81278bc (diff) | |
download | boost-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/function | 0 |
1 files changed, 0 insertions, 0 deletions
diff --git a/libs/function b/libs/function -Subproject 53f9f4484f97138ee0c6fe8a54307eb1fc23c6f +Subproject 1f248735778e6fe3c009591729252ff237897d1 |