Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 5d71d09 in mainline


Ignore:
Timestamp:
2019-07-02T11:18:58Z (16 months ago)
Author:
Jaroslav Jindrak <dzejrou@…>
Branches:
master
Children:
d276424f
Parents:
5ea9dd2
Message:

cpp: remove aux::future_return_t as it was just identity now

Location:
uspace/lib/cpp/include/__bits/thread
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/cpp/include/__bits/thread/future.hpp

    r5ea9dd2 r5d71d09  
    199199            }
    200200
    201             aux::future_return_t<R> get()
     201            R get()
    202202            {
    203203                assert(this->state_);
  • uspace/lib/cpp/include/__bits/thread/future_common.hpp

    r5ea9dd2 r5d71d09  
    105105
    106106        template<class T>
    107         struct future_return: aux::type_is<T>
    108         { /* DUMMY BODY */ };
    109 
    110         template<class T>
    111         struct future_return<T&>: aux::type_is<T&>
    112         { /* DUMMY BODY */ };
    113 
    114         template<class T>
    115         using future_return_t = typename future_return<T>::type;
    116 
    117         template<class T>
    118107        struct future_return_shared: aux::type_is<const T&>
    119108        { /* DUMMY BODY */ };
Note: See TracChangeset for help on using the changeset viewer.