[edit | edit source] Intent[edit | edit source] To provide a type-neutral container that interfaces a variety of concrete types. Also Known As[edit | edit source] "Variant"[citation needed] (not to be confused with std::variant). This technique is used inside std::any and std::function. Motivation[edit | edit source] It is often useful to have a variable which can contain more than one type. Type
C++ Advent Calender 2014(http://qiita.com/advent-calendar/2014/cpp) 11日目の記事です. はじめに 今年はこれまでコンパイル時の話について沢山記事にしてきたので,たまにはリンク時に関連することを記事にしてみようと思います.把握している人にとっては当たり前の内容ですが,日本語情報としてまとまっている記事は案外少ない気がするので初学者等に少しでもお役に立てば幸いです. この記事を執筆するにあたっては最新のWorking draftであるN4140(https://github.com/cplusplus/draft/blob/master/papers/n4140.pdf)を参考にしています.本記事の内容は主に,3 Basic concepts内の3.1 Declarations and definitions,3.2 One
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く