Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      std::swap(std::basic_stacktrace)

      From cppreference.com
      <cpp‎ |utility‎ |basic stacktrace
       
       
      Diagnostics library
       
       
      Defined in header<stacktrace>
      template<class Allocator>

      void swap(std::basic_stacktrace<Allocator>& lhs,std::basic_stacktrace<Allocator>& rhs)

         noexcept(noexcept(lhs.swap(rhs)));
      (since C++23)

      Specializes thestd::swap algorithm forstd::basic_stacktrace. Swaps the contents oflhs andrhs. Equivalent tolhs.swap(rhs);.

      Contents

      [edit]Parameters

      lhs, rhs - stacktraces whose contents to swap

      [edit]Return value

      (none)

      [edit]Complexity

      Constant.

      [edit]Example

      This section is incomplete
      Reason: no example

      [edit]See also

      swaps the contents
      (public member function)[edit]
      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/utility/basic_stacktrace/swap2&oldid=160658"

      [8]ページ先頭

      ©2009-2025 Movatter.jp