🖍️
嗡嗡的草稿倉庫
Ctrlk
  • ✏️嗡嗡的草稿倉庫
  • Bash Script
  • Linux
  • C++
    • C++ 一些觀念
    • C++ 條件處理
    • C++ 字串處理
    • C++ 檔案讀取
    • C++ const
    • C++ container
      • unordered_map
      • set, map, vector
      • hash
      • std::vector
      • std::array
      • move insertable
      • std::queue
    • C++ struct / class
    • C++ scope
    • C++ function
    • C++ debug
    • C++ multithread / mutex
    • C++ 記憶體管理 (stack/heap)
    • Modern C++
    • C++ template
    • C++ clang-tidy
    • C++ Learning resource
    • C++ atomic
    • C++ test
    • C++ MISC
    • C++ library
  • Python
  • Machine Learning (ML)
  • Git
  • VSCode
  • Design Pattern
  • Functional programming
  • WordPress
  • 加密貨幣
  • 省思&雜記
  • 嗡嗡的隨手筆記 (整理完放此)
Powered by GitBook
On this page
  1. C++
  2. C++ container

std::queue

  • emplace: no copy

  • emplace_back: args std::forward<struct>

  • push

    • https://en.cppreference.com/w/cpp/container/queue/push

  • emplace

    • https://en.cppreference.com/w/cpp/container/queue/emplace

  • push: copy

  • push_back:

  • https://stackoverflow.com/questions/35518611/difference-between-queues-emplace-and-push

  • pop(): first element

  • emplace, push

  • https://blog.csdn.net/Kprogram/article/details/82055673

  • https://stackoverflow.com/questions/35518611/difference-between-queues-emplace-and-push

  • std::move

  • https://en.cppreference.com/w/cpp/utility/move

  • queue cppreference push

  • https://en.cppreference.com/w/cpp/container/queue/push

  • container push_back cppreference

  • https://en.cppreference.com/w/cpp/container/vector/push_back

Previousmove insertableNextC++ struct / class

Last updated 2 years ago

Was this helpful?

Was this helpful?