Changeset 69cc156 in mainline for uspace/lib/cpp/include/__bits/functional/bind.hpp
- Timestamp:
- 2018-07-05T21:41:24Z (7 years ago)
- 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)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/cpp/include/__bits/functional/bind.hpp
rddd287d r69cc156 163 163 } 164 164 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_; 167 167 tuple<decay_t<Args>...> bound_args_; 168 168 … … 183 183 bind_arg_filter<ActualArgs...> filter{forward<ActualArgs>(args)...}; 184 184 185 return aux:: invoke(185 return aux::INVOKE( 186 186 func_, 187 187 filter[get<Is>(bound_args_)]...
Note:
See TracChangeset
for help on using the changeset viewer.