[#C8133C8D467B954873B4A52B28030256517F2523]

Function segments_base:: size

Return the number of segments

Synopsis

            std::size_t
size() const noexcept;
        

Description

Example

assert( url_view( "/path/to/file.txt" ).segments().size() == 3 );

Complexity

Constant.

Exception Safety

Throws nothing.