Changeset ca32d45 in mainline
- Timestamp:
- 2018-07-05T21:41:22Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0a414494
- Parents:
- 55540fca
- git-author:
- Dzejrou <dzejrou@…> (2018-05-03 21:44:59)
- git-committer:
- Dzejrou <dzejrou@…> (2018-07-05 21:41:22)
- Location:
- uspace/lib/cpp/include/impl
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/cpp/include/impl/memory.hpp
r55540fca rca32d45 62 62 63 63 /** 64 * 20.7.7, uses_allocator: 65 */ 66 67 namespace aux 68 { 69 template<class T, class = void> 70 struct has_allocator_type: false_type 71 { /* DUMMY BODY */ }; 72 73 template<class T> 74 struct has_allocator_type<T, void_t<typename T::allocator_type>> 75 : true_type 76 { /* DUMMY BODY */ }; 77 } 78 79 template<class T, class Alloc, class = void> 80 struct uses_allocator 81 : aux::value_is< 82 bool, aux::has_allocator_type<T>::value && is_convertible_v< 83 Alloc, typename T::allocator_type 84 > 85 > 86 { /* DUMMY BODY */ }; 87 88 /** 64 89 * 20.7.8, allocator traits: 65 90 */ -
uspace/lib/cpp/include/impl/tuple.hpp
r55540fca rca32d45 463 463 */ 464 464 465 template<class...>466 struct uses_allocator;467 468 465 template<class... Ts, class Alloc> 469 466 struct uses_allocator<tuple<Ts...>, Alloc>: true_type
Note:
See TracChangeset
for help on using the changeset viewer.