MCPcopy Create free account
hub / github.com/Achain-Dev/Achain / last_char

Function last_char

include/win/boost/test/utils/basic_cstring/basic_cstring.hpp:685–691  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

683
684template<typename CharT>
685inline typename basic_cstring<CharT>::value_ret_type
686last_char( basic_cstring<CharT> source )
687{
688 typedef typename basic_cstring<CharT>::value_ret_type res_type;
689
690 return source.is_empty() ? static_cast<res_type>(0) : *(source.end()-1);
691}
692
693//____________________________________________________________________________//
694

Callers

nothing calls this directly

Calls 2

is_emptyMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected