Changeset 7a666789 in mainline for uspace/lib/cpp/include/impl/utility.hpp
- Timestamp:
- 2018-07-05T21:41:21Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 875788a8
- Parents:
- ac68088
- git-author:
- Dzejrou <dzejrou@…> (2018-04-24 16:31:10)
- git-committer:
- Dzejrou <dzejrou@…> (2018-07-05 21:41:21)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/cpp/include/impl/utility.hpp
rac68088 r7a666789 31 31 32 32 #include <cstdint> 33 #include <internal/type_transformation.hpp> 33 34 #include <type_traits> 34 35 … … 208 209 } 209 210 }; 211 212 /** 213 * 20.3.3, specialized algorithms: 214 */ 215 216 // TODO: implement 217 218 template<class T1, class T2> 219 constexpr auto make_pair(T1&& t1, T2&& t2) 220 { 221 return pair< 222 aux::transform_tuple_types_t<T1>, 223 aux::transform_tuple_types_t<T2> 224 >{ 225 forward<T1>(t1), forward<T2>(t2) 226 }; 227 } 228 229 /** 230 * 20.3.4, tuple-like access to pair: 231 */ 232 233 // TODO: implement 210 234 211 235 /**
Note:
See TracChangeset
for help on using the changeset viewer.