Changeset 6283bf15 in mainline
- Timestamp:
- 2018-07-05T21:41:23Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 94ac2ea
- Parents:
- bdc981b
- git-author:
- Dzejrou <dzejrou@…> (2018-05-05 20:14:08)
- git-committer:
- Dzejrou <dzejrou@…> (2018-07-05 21:41:23)
- Location:
- uspace/lib/cpp/include
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/cpp/include/impl/functional.hpp
rbdc981b r6283bf15 30 30 #define LIBCPP_FUNCTIONAL 31 31 32 #include <internal/functional/conditional_function_typedefs.hpp> 32 33 #include <internal/functional/invoke.hpp> 33 34 #include <limits> … … 639 640 template<class F> 640 641 class mem_fn_t 641 {642 // TODO: conditional typedefs642 : public conditional_function_typedefs<remove_cv_t<remove_reference_t<T>>> 643 { 643 644 public: 644 645 mem_fn_t(F f) -
uspace/lib/cpp/include/internal/functional/function.hpp
rbdc981b r6283bf15 30 30 #define LIBCPP_INTERNAL_FUNCTIONAL_FUNCTION 31 31 32 #include <internal/functional/conditional_function_typedefs.hpp> 32 33 #include <internal/functional/reference_wrapper.hpp> 33 34 #include <typeinfo> … … 94 95 template<class R, class... Args> 95 96 class function<R(Args...)> 97 : public aux::conditional_function_typedefs<Args...> 96 98 { 97 99 public: 98 100 using result_type = R; 99 // TODO: conditional typedefs100 101 101 102 /** -
uspace/lib/cpp/include/internal/functional/reference_wrapper.hpp
rbdc981b r6283bf15 30 30 #define LIBCPP_INTERNAL_FUNCTIONAL_REFERENCE_WRAPPER 31 31 32 #include <internal/functional/conditional_function_typedefs.hpp> 32 33 #include <internal/functional/invoke.hpp> 33 34 #include <type_traits> … … 41 42 template<class T> 42 43 class reference_wrapper 44 : public aux::conditional_function_typedefs<remove_cv_t<remove_reference_t<T>>> 43 45 { 44 46 public: 45 47 using type = T; 46 // TODO: conditional typedefs47 48 48 49 reference_wrapper(type& val) noexcept
Note:
See TracChangeset
for help on using the changeset viewer.