Beispiel #1
0
 string_type scheme() const {
     const_range_type range = scheme_range();
     return range? string_type(boost::begin(range), boost::end(range)) : string_type();
 }
Beispiel #2
0
 string_type scheme() const {
   const_range_type range = scheme_range();
   CATCH_EMPTY_ITERATOR_RANGE
   return range ? string_type(std::begin(range), std::end(range))
                : string_type();
 }