タグ

2010年1月28日のブックマーク (2件)

  • C++マニアック,,pair の使い方,usage of pair

    pair は STL のヘッダ <utility> で定義されている、二つの要素のペアを入れる入れ物です。 二つの要素 first と second の呪縛から逃れる 二つの要素 ページの先頭へ pair は二つの要素を入れる入れ物です。それぞれの要素は C++ のオブジェクトで、その型はテンプレート引数で決まります。簡単な例を見て見ましょう。この場合、int と float がテンプレート引数です。 #include <utility> using namespace std; int main() { pair<int, float> pairif; pairif.first = 1; pairif.second = 2.3f; } pair は基的には、次のように定義された struct PAIR に良く似ています。 struct PAIR { int first; float s

  • C++/CLI 言語仕様書 - Standard ECMA-372

    翻訳者より この翻訳は Ecma International で標準化された C++/CLI の日語訳です。 個人的な愛から始めた翻訳名ので、用語や言葉の使い方が正式に書式化されたものではなく、俗に言う「俺語翻訳」となっています。 また、英語力の不足から、怪しい翻訳部分もあるので、内容的に怪しいと感じた場合には、原文を参照してください。 Ecma の Mr. Jan van den Beld から翻訳の公開許可を頂きました。 注意 Disclaimer This is a translation of the authoritative text which Ecma published here http://www.ecma-international.org/publications/standards/ECMA-372.htm. This translated document

    harigel
    harigel 2010/01/28
    [C++/CLI][.net][リファレンス]
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy