meta::if_<use_sentinel_t, adaptor_base, adaptor<false>> end_adaptor()
            {
#ifdef RANGES_WORKAROUND_MSVC_PERMISSIVE_DEPENDENT_BASE
                if(use_sentinel_t() || ranges::empty(this->base()))
                    return {*this};
                return {*this, ranges::front(this->base())};
#else
                if(use_sentinel_t() || empty(this->base()))
                    return {*this};
                return {*this, front(this->base())};
#endif
            }
Exemple #2
0
 meta::if_<use_sentinel_t, adaptor_base, adaptor<false>> end_adaptor()
 {
     if(use_sentinel_t() || empty(this->base()))
         return {*this};
     return {*this, front(this->base())};
 }