Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      std::experimental::basic_string_view<CharT,Traits>::size,std::experimental::basic_string_view<CharT,Traits>::length

      From cppreference.com
      <cpp‎ |experimental‎ |basic string view
       
       
       
       
      std::experimental::basic_string_view
       
      constexpr size_type size()constnoexcept;
      (library fundamentals TS)
      constexpr size_type length()constnoexcept;
      (library fundamentals TS)

      Returns the number ofCharT elements in the view, i.e.std::distance(begin(), end()).

      Contents

      [edit]Parameters

      (none)

      [edit]Return value

      The number ofCharT elements in the view.

      [edit]Complexity

      Constant.

      [edit]See also

      checks whether the view is empty
      (public member function)[edit]
      returns the maximum number of characters
      (public member function)[edit]
      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/experimental/basic_string_view/size&oldid=93189"

      [8]ページ先頭

      ©2009-2025 Movatter.jp