GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing cpprefjp.github.io — std::return_temporary_buffer - cpprefjp C++日本語リファレンス function template <memory> std::return_temporary_buffer(C++17で非推奨)(C++20で削除)この機能は、C++17から非推奨となり、C++20で削除された。短期的な用途のメモリ領域確保には、 概要
要件
効果ポインタ 戻り値なし 例外
非推奨・削除の詳細
将来的にスタックからメモリ確保をする仕組みが検討されているが、これらの関数は設計として例外安全性やRAIIといったものが考慮されていない。スタックからメモリ確保する機能が入ったとしても、これらの関数の内部を改善することはできないと判断され、非推奨となった。 スタックからメモリ確保する機能は、現在の標準ライブラリにはない。そのため、代わりとしては、配置new構文や、標準外の 例出力
参照
|
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |