Ignore:
Timestamp:
2018-07-05T21:41:24Z (7 years ago)
Author:
Dzejrou <dzejrou@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
09416c12
Parents:
ddd287d
git-author:
Dzejrou <dzejrou@…> (2018-05-17 23:46:22)
git-committer:
Dzejrou <dzejrou@…> (2018-07-05 21:41:24)
Message:

cpp: renamed aux::invoke to aux::INVOKE to match standard and avoid conflicts with std::invoke, added functional tests and fixed some bugs found by them

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/cpp/include/__bits/functional/reference_wrapper.hpp

    rddd287d r69cc156  
    7575
    7676            template<class... Args>
    77             result_of_t<type&(Args&&...)> operator()(Args&&... args) const
     77            decltype(auto) operator()(Args&&... args) const
    7878            {
    79                 return invoke(*data_, std::forward<Args>(args)...);
     79                return aux::INVOKE(*data_, std::forward<Args>(args)...);
    8080            }
    8181
Note: See TracChangeset for help on using the changeset viewer.