Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      std::stack<T,Container>::pop

      From cppreference.com
      <cpp‎ |container‎ |stack

      [edit template]
       
       
       
       
      void pop();

      Removes the top element from the stack. Effectively callsc.pop_back().

      Contents

      [edit]Parameters

      (none)

      [edit]Return value

      (none)

      [edit]Complexity

      Equal to the complexity ofContainer::pop_back.

      [edit]Example

      [edit]See also

      (C++11)
      constructs element in-place at the top
      (public member function)[edit]
      inserts element at the top
      (public member function)[edit]
      accesses the top element
      (public member function)[edit]
      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/container/stack/pop&oldid=135274"

      [8]ページ先頭

      ©2009-2025 Movatter.jp