std::basic_string::npos

From Cppreference

Jump to: navigation, search
static const size_type npos = -1;

This is a special value that is assigned maximum representable value by size_type type. The exact meaning depends on context.

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox
In other languages