$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] [function] Bind to std::function if supported?
From: ¾G§B²[ (tongari95_at_[hidden])
Date: 2013-07-09 00:45:00
2013/7/9 Andrew Ho <helloworld922_at_[hidden]>
> The boost::move library binds to std::move/T&&/etc. when the compiler
> supports
> such features, and only uses work-around mechanisms when the compiler lacks
> such support.
>
> Should we add similar support for boost::function?
>
I don't think so.
boost::function doesn't have exactly the same interface as std::function,
unlike the case of 'move', which has consistent interface.