| 589 | |
| 590 | template<typename CharT> |
| 591 | inline basic_cstring<CharT> |
| 592 | basic_cstring<CharT>::substr( size_type beg_index, size_type end_index ) const |
| 593 | { |
| 594 | return beg_index > size() |
| 595 | ? self_type() |
| 596 | : end_index > size() |
| 597 | ? self_type( m_begin + beg_index, m_end ) |
| 598 | : self_type( m_begin + beg_index, m_begin + end_index ); |
| 599 | } |
| 600 | |
| 601 | //____________________________________________________________________________// |
| 602 |
no test coverage detected