Ignore:
Timestamp:
2018-07-05T21:41:24Z (6 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/bind.hpp

    rddd287d r69cc156  
    163163                }
    164164
    165             private:
    166                 function<decay_t<F>> func_;
     165            private: // TODO: This has problem with member function pointers.
     166                function<remove_reference_t<F>> func_;
    167167                tuple<decay_t<Args>...> bound_args_;
    168168
     
    183183                    bind_arg_filter<ActualArgs...> filter{forward<ActualArgs>(args)...};
    184184
    185                     return aux::invoke(
     185                    return aux::INVOKE(
    186186                        func_,
    187187                        filter[get<Is>(bound_args_)]...
Note: See TracChangeset for help on using the changeset viewer.