Pārlūkot izejas kodu

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]

Douglas Gregor 25 gadi atpakaļ
vecāks
revīzija
f7cd1381d9
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      libs/function

+ 1 - 1
libs/function

@@ -1 +1 @@
-Subproject commit 53f9f4484f97138ee0c6fe8a54307eb1fc23c6f4
+Subproject commit 1f248735778e6fe3c009591729252ff237897d1b

粤ICP备19079148号