Ignore:
Timestamp:
2018-07-05T21:41:23Z (7 years ago)
Author:
Dzejrou <dzejrou@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e9f2f4e
Parents:
78a794ab
git-author:
Dzejrou <dzejrou@…> (2018-05-04 20:40:34)
git-committer:
Dzejrou <dzejrou@…> (2018-07-05 21:41:23)
Message:

cpp: fixed passing references to bind without std::ref or std::cref, now they are not modified and the user needs to use the aforementioned functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/cpp/include/impl/tuple.hpp

    r78a794ab rd275344  
    202202                { /* DUMMY BODY */ }
    203203
    204                 constexpr explicit tuple_impl(Ts&&... ts)
    205                     : tuple_element_wrapper<Is, Ts>(forward<Ts>(ts))...
     204                template<class... Us>
     205                constexpr explicit tuple_impl(Us&&... us)
     206                    : tuple_element_wrapper<Is, Ts>(forward<Us>(us))...
    206207                { /* DUMMY BODY */ }
    207 
    208                 // TODO: enable only if Us is convertible to Ts and they are not same
    209                 /* template<class... Us> */
    210                 /* constexpr explicit tuple_impl(Us&&... us) */
    211                 /*     : tuple_element_wrapper<Is, Ts>(forward<Us>(us))... */
    212                 /* { /1* DUMMY BODY *1/ } */
    213208        };
    214209
Note: See TracChangeset for help on using the changeset viewer.