MCPcopy Create free account
hub / github.com/p-ranav/tabulate / to_pos

Method to_pos

include/tabulate/string_view_lite.hpp:988–991  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

986 };
987
988 nssv_constexpr size_type to_pos( const_iterator it ) const
989 {
990 return it == cend() ? npos : size_type( it - cbegin() );
991 }
992
993 nssv_constexpr size_type to_pos( const_reverse_iterator it ) const
994 {

Callers

nothing calls this directly

Calls 1

size_typeEnum · 0.70

Tested by

no test coverage detected