Changeset de53138 in mainline for uspace/lib/cpp/include/impl/utility.hpp
- Timestamp:
- 2018-07-05T21:41:21Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c71c171
- Parents:
- 6d8a63a
- git-author:
- Dzejrou <dzejrou@…> (2018-04-20 00:11:54)
- git-committer:
- Dzejrou <dzejrou@…> (2018-07-05 21:41:21)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/cpp/include/impl/utility.hpp
r6d8a63a rde53138 30 30 #define LIBCPP_UTILITY 31 31 32 #include <cstdint> 32 33 #include <type_traits> 33 34 … … 78 79 constexpr T&& forward(remove_reference_t<T>&& t) noexcept 79 80 { 80 // TODO: check if t is lvalue reference, if it is, the program81 // is ill-formed according to the standard82 81 return static_cast<T&&>(t); 83 82 } … … 236 235 namespace aux 237 236 { 238 template<class T, std::uintmax_t N>237 template<class T, uintmax_t N> 239 238 struct make_integer_sequence 240 239 {
Note:
See TracChangeset
for help on using the changeset viewer.