Changeset 79f35d40 in mainline
- Timestamp:
- 2018-07-05T21:41:18Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7b1906e
- Parents:
- b08a62c
- git-author:
- Jaroslav Jindrak <dzejrou@…> (2017-10-26 17:39:56)
- git-committer:
- Dzejrou <dzejrou@…> (2018-07-05 21:41:18)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/cpp/include/impl/utility.hpp
rb08a62c r79f35d40 70 70 71 71 template<class T> 72 inlineconstexpr T&& forward(remove_reference_t<T>& t) noexcept72 constexpr T&& forward(remove_reference_t<T>& t) noexcept 73 73 { 74 74 return static_cast<T&&>(t); … … 76 76 77 77 template<class T> 78 inlineconstexpr T&& forward(remove_reference_t<T>&& t) noexcept78 constexpr T&& forward(remove_reference_t<T>&& t) noexcept 79 79 { 80 80 // TODO: check if t is lvalue reference, if it is, the program … … 84 84 85 85 template<class T> 86 inlineconstexpr remove_reference_t<T>&& move(T&& t) noexcept86 constexpr remove_reference_t<T>&& move(T&& t) noexcept 87 87 { 88 88 return static_cast<remove_reference_t<T>&&>(t);
Note:
See TracChangeset
for help on using the changeset viewer.