bool StringICompare(const std::basic_string<CharT> &lhs, const std::basic_string<CharT> &rhs) { if (lhs.length() == rhs.length()) { return std::equal(lhs.cbegin(), lhs.cend(), rhs.cbegin(), ICompare); } else { return false; } }
basic_str_wrap( std::basic_string<Char_T> const& str ) :fst( &*str.cbegin() ) ,lst( &*str.cend() ) ,cstr( str.c_str() ) {}