Namespaces
Variants
Views
Actions

Difference between revisions of "Template:cpp/string/basic string/dsc npos"

From cppreference.com
(Template update.)
(Added the exact value of npos.)
 
Line 1: Line 1:
{{dsc|{{anchor|npos}}{{dsc small|{{c/core|constexpr size_type}}}} {{tt|npos}} {{cmark static}}|a special value, the exact meaning depends on the context}}
+
{{dsc|{{anchor|npos}}{{dsc small|{{c/core|constexpr size_type}}}} {{tt|npos}} {{cmark static}}|the special value {{c|size_type(-1)}}, its exact meaning depends on the context}}

Latest revision as of 18:08, 10 November 2024

|- class="t-dsc" | constexpr size_type npos [static] | the special value size_type(-1), its exact meaning depends on the context |-