This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/45893] [C++0x] [DR 817] Finish updating std::bind to rvalue refs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45893

--- Comment #13 from Paolo Carlini <paolo.carlini at oracle dot com> 2010-10-07 01:38:31 UTC ---
PS: I don't know if this can help you with your work, but today I wondered
whether we should put to good use forward_as_tuple where we used to have tie
and elsewhere too. Without having seriously analyzed the situation seems
strange that things like:

        operator()(_Args&&... __args)
        {
          return this->__call<_Result>(tuple<_Args...>
                       (std::forward<_Args>(__args)...),
 can't be

        operator()(_Args&&... __args)
        {
          return this->__call<_Result>(forward_as_tuple(__args...),

or something like that... may need adjustments where tuple<_Args...> is now
expected, tough.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]