functional (function::function(F)): LWG 2132: Disable constructor if argument isn...
authorJonathan Wakely <jwakely.gcc@gmail.com>
Sun, 29 Apr 2012 22:59:37 +0000 (22:59 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Sun, 29 Apr 2012 22:59:37 +0000 (23:59 +0100)
commit143a1ce16cee1ade7a09266a3a0190ee2e826734
tree92006d8b36b05e749a69e1cb31e178739d20de8f
parent112448b4489ec5a631f22a3c28b814fcaf9fa92f
functional (function::function(F)): LWG 2132: Disable constructor if argument isn't callable.

* include/std/functional (function::function(F)): LWG 2132: Disable
constructor if argument isn't callable.
* testsuite/20_util/function/cons/callable.cc: New.

From-SVN: r186947
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/functional
libstdc++-v3/testsuite/20_util/function/cons/callable.cc [new file with mode: 0644]