Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      std::forward_list<T,Allocator>::~forward_list

      From cppreference.com
      <cpp‎ |container‎ |forward list

      [edit template]
       
       
       
      std::forward_list
      Member functions
      Non-member functions
      (until C++20)(until C++20)(until C++20)(until C++20)(until C++20)
      Deduction guides(C++17)
       
      ~forward_list();
      (since C++11)
      (constexpr since C++26)

      Destructs theforward_list. The destructors of the elements are called and the used storage is deallocated.

      [edit]Complexity

      Linear in the size of*this.

      [edit]Notes

      If the elements are pointers, the pointed-to objects are not destroyed.

      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/container/forward_list/%7Eforward_list&oldid=156298"

      [8]ページ先頭

      ©2009-2025 Movatter.jp