ホーム | ブログ | C++辞典 | サイトマップ | FAQ | 掲示板 | リンク集
メイン・メニュー
インデックス
プログラミング
その他
<vector>ヘッダ のバックアップ差分(No.5)


  • 追加された行はこの色です。
  • 削除された行はこの色です。
* <vector>ヘッダ [#q26c5a1b]
 
 &aname(vector);
 ** vector クラス [#vf16ba6f]
 ** vector クラステンプレート [#vf16ba6f]
 
 namespace std {~
 &nbsp; template<class T, class Allocator = allocator<T> >~
 &nbsp; &nbsp; class ''vector'' {~
 &nbsp; &nbsp; public:~
 &nbsp; &nbsp; &nbsp; typedef typename Allocator::reference ''[[reference>#reference]]'';~
 &nbsp; &nbsp; &nbsp; typedef typename Allocator::const_reference  ''[[const_reference>#const_reference]]'';~
 &nbsp; &nbsp; &nbsp; typedef '''処理系定義''' ''[[iterator>#iterator]]'';~
 &nbsp; &nbsp; &nbsp; typedef '''処理系定義''' ''[[const_iterator>#const_iterator]]'';~
 &nbsp; &nbsp; &nbsp; typedef '''処理系定義''' ''[[size_type>#size_type]]'';~
 &nbsp; &nbsp; &nbsp; typedef '''処理系定義''' ''[[difference_type>#difference_type]]'';~
 &nbsp; &nbsp; &nbsp; typedef T ''[[value_type>#value_type]]'';~
 &nbsp; &nbsp; &nbsp; typedef Allocator ''[[allocator_type>#allocator_type]]'';~
 &nbsp; &nbsp; &nbsp; typedef typename Allocator::pointer ''[[pointer>#pointer]]'';~
 &nbsp; &nbsp; &nbsp; typedef typename Allocator::const_pointer ''[[const_pointer>#const_pointer]]'';~
 &nbsp; &nbsp; &nbsp; typedef std::reverse_iterator<iterator> ''[[reverse_iterator>#reverse_iterator]]'';~
 &nbsp; &nbsp; &nbsp; typedef std::reverse_iterator<const_iterator> ''[[const_reverse_iterator>#const_reverse_iterator]]'';~
 
 &nbsp; &nbsp; &nbsp; explicit ''[[vector>#ctor]]''(const Allocator& '''a''' = Allocator());~
 &nbsp; &nbsp; &nbsp; explicit ''[[vector>#ctor]]''(size_type '''n''', const value_type& '''value''' = T(),~
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;const Allocator& '''a''' = Allocator()); ~
 &nbsp; &nbsp; &nbsp; template<class [[InputIterator>反復子#input]]>~
 &nbsp; &nbsp; &nbsp; &nbsp; ''[[vector>#ctor]]''([[InputIterator>反復子#input]] '''first''', [[InputIterator>反復子#input]] '''last''', const Allocator& '''a''' = Allocator());~
 &nbsp; &nbsp; &nbsp; ''[[vector>#ctor]]''(const vector<T, Allocator>& '''x''');~
 &nbsp; &nbsp; &nbsp; ''[[~vector>#dtor]]''();~
 &nbsp; &nbsp; &nbsp; vector<T, Allocator>& ''[[operator=>#op_eq]]''(const vector<T, Allocator>& '''x''');~
 &nbsp; &nbsp; &nbsp; template<class [[InputIterator>反復子#input]]>~
 &nbsp; &nbsp; &nbsp; &nbsp; vector<T, Allocator>& ''[[assign>#assign]]''([[InputIterator>反復子#input]] '''first''', [[InputIterator>反復子#input]] '''last''');~
 &nbsp; &nbsp; &nbsp; vector<T, Allocator>& ''[[assign>#assign]]''(size_type '''n''', const T& '''u''');~
 &nbsp; &nbsp; &nbsp; allocator_type ''[[get_allocator>#get_allocator]]''() const;~
 
 &nbsp; &nbsp; &nbsp; iterator ''[[begin>#begin]]''();~
 &nbsp; &nbsp; &nbsp; const_iterator ''[[begin>#begin]]''() const;~
 &nbsp; &nbsp; &nbsp; iterator ''[[end>#end]]''();~
 &nbsp; &nbsp; &nbsp; const_iterator ''[[end>#end]]''() const;~
 &nbsp; &nbsp; &nbsp; reverse_iterator ''[[rbegin>#rbegin]]''();~
 &nbsp; &nbsp; &nbsp; const_reverse_iterator ''[[rbegin>#rbegin]]''() const;~
 &nbsp; &nbsp; &nbsp; reverse_iterator ''[[rend>#rend]]''();~
 &nbsp; &nbsp; &nbsp; const_reverse_iterator ''[[rend>#rend]]''() const;~
 
 &nbsp; &nbsp; &nbsp; size_type ''[[size>#size]]''() const:~
 &nbsp; &nbsp; &nbsp; size_type ''[[max_size>#max_size]]''() const;~
 &nbsp; &nbsp; &nbsp; void ''[[resize>#resize]]''(size_type '''sz''', const T& '''c''' = T());~
 &nbsp; &nbsp; &nbsp; size_type ''[[capacity>#capacity]]''() const;~
 &nbsp; &nbsp; &nbsp; bool ''[[empty>#empty]]''() const;~
 &nbsp; &nbsp; &nbsp; void ''[[reserve>#reserve]]''(size_type '''n''');~
 
 &nbsp; &nbsp; &nbsp; reference ''[[operator[]>#op_index]]''(size_type '''n''');~
 &nbsp; &nbsp; &nbsp; const_reference ''[[operator[]>#op_index]]''(size_type '''n''') const;~
 &nbsp; &nbsp; &nbsp; reference ''[[at>#at]]''(size_type '''n''');~
 &nbsp; &nbsp; &nbsp; const_reference ''[[at>#at]]''(size_type '''n''') const;~
 &nbsp; &nbsp; &nbsp; reference ''[[front>#front]]''();~
 &nbsp; &nbsp; &nbsp; const_reference ''[[front>#front]]''() const;~
 &nbsp; &nbsp; &nbsp; reference ''[[back>#back]]''();~
 &nbsp; &nbsp; &nbsp; const_reference ''[[back>#back]]''() const;~
 
 &nbsp; &nbsp; &nbsp; void ''[[push_back>#push_back]]''(const T& '''x''');~
 &nbsp; &nbsp; &nbsp; void ''[[pop_back>#pop_back]]''();~
 &nbsp; &nbsp; &nbsp; iterator ''[[insert>#insert]]''(iterator '''position''', const T& '''x''');~
 &nbsp; &nbsp; &nbsp; void ''[[insert>#insert]]''(iterator '''position''', size_type '''n''', const T& '''x''');~
 &nbsp; &nbsp; &nbsp; template<class [[InputIterator>反復子#input]]>~
 &nbsp; &nbsp; &nbsp; &nbsp; void ''[[insert>#insert]]''(iterator '''position''', [[InputIterator>反復子#input]] '''first''', [[InputIterator>反復子#input]] '''last''');~
 &nbsp; &nbsp; &nbsp; void ''[[erase>#erase]]''(iterator '''position''');~
 &nbsp; &nbsp; &nbsp; void ''[[erase>#erase]]''(iterator '''first''', iterator '''last''');~
 &nbsp; &nbsp; &nbsp; void ''[[swap>#swap]]''(vector<T, Allocator>& '''x''');~
 &nbsp; &nbsp; &nbsp; void ''[[clear>#clear]]''();~
 &nbsp; };~
 }~
 
 
 
 
 
 &aname(reference);
 *** reference [#xc2546c4]
 
 ''形式''~
 &nbsp; &nbsp; &nbsp; typedef typename Allocator::reference ''reference'';~
 
 &aname(const_reference);
 *** const_reference [#vf73a2e1]
 
 ''形式''~
 &nbsp; &nbsp; &nbsp; typedef typename Allocator::const_reference  ''const_reference'';~
 
 &aname(iterator);
 *** iterator [#qf1f7c5a]
 
 ''形式''~
 &nbsp; &nbsp; &nbsp; typedef '''処理系定義''' ''iterator'';~
 
 &aname(const_iterator);
 *** const_iterator [#w2188186]
 
 ''形式''~
 &nbsp; &nbsp; &nbsp; typedef '''処理系定義''' ''const_iterator'';~
 
 &aname(size_type);
 *** size_type [#w11c0493]
 
 ''形式''~
 &nbsp; &nbsp; &nbsp; typedef '''処理系定義''' ''size_type'';~
 
 &aname(difference_type);
 *** difference_type [#re504c71]
 
 ''形式''~
 &nbsp; &nbsp; &nbsp; typedef '''処理系定義''' ''difference_type'';~
 
 &aname(value_type);
 *** value_type [#s3713a67]
 
 ''形式''~
 &nbsp; &nbsp; &nbsp; typedef T ''value_type'';~
 
 &aname(allocator_type);
 *** allocator_type [#yfb96a82]
 アロケータ型
 
 ''形式''~
 &nbsp; &nbsp; &nbsp; typedef Allocator ''allocator_type'';~
 
 &aname(pointer);
 *** pointer [#j4c7eac3]
 
 ''形式''~
 &nbsp; &nbsp; &nbsp; typedef typename Allocator::pointer ''pointer'';~
 
 &aname(const_pointer);
 *** const_pointer [#tcf38b19]
 
 ''形式''~
 &nbsp; &nbsp; &nbsp; typedef typename Allocator::const_pointer ''const_pointer'';~
 
 &aname(reverse_iterator);
 *** reverse_iterator [#fa8277c1]
 
 ''形式''~
 &nbsp; &nbsp; &nbsp; typedef std::reverse_iterator<iterator> ''reverse_iterator'';~
 
 &aname(const_reverse_iterator);
 *** const_reverse_iterator [#jba0ad93]
 
 ''形式''~
 &nbsp; &nbsp; &nbsp; typedef std::reverse_iterator<const_iterator> ''const_reverse_iterator'';~
 
 &aname(ctor);
 *** コンストラクタ [#r66e0984]
 
 ''形式''~
 &nbsp; &nbsp; &nbsp; explicit ''vector''(const Allocator& '''a''' = Allocator());~
 
 &nbsp; &nbsp; &nbsp; explicit ''vector''(size_type '''n''', const value_type& '''value''' = T(),~
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;const Allocator& '''a''' = Allocator()); ~
 
 &nbsp; &nbsp; &nbsp; template<class [[InputIterator>反復子#input]]>~
 &nbsp; &nbsp; &nbsp; &nbsp; ''vector''([[InputIterator>反復子#input]] '''first''', [[InputIterator>反復子#input]] '''last''', const Allocator& '''a''' = Allocator());~
 
 &nbsp; &nbsp; &nbsp; ''vector''(const vector<T, Allocator>& '''x''');~
 
 &aname(ctor);
 *** デストラクタ [#h1752736]
 
 ''形式''~
 &nbsp; &nbsp; &nbsp; ''~vector''();~
 
 &aname(op_index);
 *** operator= [#ff0d184a]
 
 ''形式''~
 &nbsp; &nbsp; &nbsp; vector<T, Allocator>& ''operator=''(const vector<T, Allocator>& '''x''');~
 
 &aname(assign);
 *** assign [#m5fd9954]
 
 ''形式''~
 &nbsp; &nbsp; &nbsp; template<class [[InputIterator>反復子#input]]>~
 &nbsp; &nbsp; &nbsp; &nbsp; vector<T, Allocator>& ''assign''([[InputIterator>反復子#input]] '''first''', [[InputIterator>反復子#input]] '''last''');~
 
 &nbsp; &nbsp; &nbsp; vector<T, Allocator>& ''assign''(size_type '''n''', const T& '''u''');~
 
 &aname(get_allocator);
 *** get_allocator [#tb96a72e]
 
 ''形式''~
 &nbsp; &nbsp; &nbsp; allocator_type ''get_allocator''() const;~
 
 &aname(begin);
 *** begin [#x45d38b0]
 
 ''形式''~
 &nbsp; &nbsp; &nbsp; iterator ''begin''();~
 
 &nbsp; &nbsp; &nbsp; const_iterator ''begin''() const;~
 
 &aname(end);
 *** end [#nc6c96f7]
 
 ''形式''~
 &nbsp; &nbsp; &nbsp; iterator ''end''();~
 
 &nbsp; &nbsp; &nbsp; const_iterator ''end''() const;~
 
 &aname(rbegin);
 *** rbegin [#g424d666]
 
 ''形式''~
 &nbsp; &nbsp; &nbsp; reverse_iterator ''rbegin''();~
 
 &nbsp; &nbsp; &nbsp; const_reverse_iterator ''rbegin''() const;~
 
 &aname(rend);
 *** rend [#f5e450c5]
 
 ''形式''~
 &nbsp; &nbsp; &nbsp; reverse_iterator ''rend''();~
 
 &nbsp; &nbsp; &nbsp; const_reverse_iterator ''rend''() const;~
 
 &aname(size);
 *** size [#z9c5d1e5]
 
 ''形式''~
 &nbsp; &nbsp; &nbsp; size_type ''size''() const:~
 
 &aname(max_size);
 *** max_size [#v0988720]
 
 ''形式''~
 &nbsp; &nbsp; &nbsp; size_type ''max_size''() const;~
 
 &aname(resize);
 *** resize [#fb58535e]
 
 ''形式''~
 &nbsp; &nbsp; &nbsp; void ''resize''(size_type '''sz''', const T& '''c''' = T());=
 
 &aname(capacity);
 *** capacity [#n8eaca6e]
 
 ''形式''~
 &nbsp; &nbsp; &nbsp; size_type ''capacity''() const;~
 
 &aname(empty);
 *** empty [#fbae4b83]
 
 ''形式''~
 &nbsp; &nbsp; &nbsp; bool ''empty''() const;~
 
 &aname(reserve);
 *** reserve [#j1ea6774]
 
 ''形式''~
 &nbsp; &nbsp; &nbsp; void ''reserve''(size_type '''n''');~
 
 &aname(op_index);
 *** operator[] [#sf9821de]
 
 ''形式''~
 &nbsp; &nbsp; &nbsp; reference ''operator[]''(size_type '''n''');~
 
 &nbsp; &nbsp; &nbsp; const_reference ''operator[]''(size_type '''n''') const;~
 
 &aname(at);
 *** at [#p254412e]
 
 ''形式''~
 &nbsp; &nbsp; &nbsp; reference ''at''(size_type '''n''');~
 
 &nbsp; &nbsp; &nbsp; const_reference ''at''(size_type '''n''') const;~
 
 &aname(front);
 *** front [#hcecbcf4]
 
 ''形式''~
 &nbsp; &nbsp; &nbsp; reference ''front''();~
 
 &nbsp; &nbsp; &nbsp; const_reference ''front''() const;~
 
 &aname(back);
 *** back [#ff118ae1]
 
 ''形式''~
 &nbsp; &nbsp; &nbsp; reference ''back''();~
 
 &nbsp; &nbsp; &nbsp; const_reference ''back''() const;~
 
 &aname(push_back);
 *** push_back [#i2df7ce1]
 
 ''形式''~
 &nbsp; &nbsp; &nbsp; void ''push_back''(const T& '''x''');~
 
 &nbsp; &nbsp; &nbsp; void ''pop_back''();~
 
 &aname(insert);
 *** insert [#k70286fc]
 
 ''形式''~
 &nbsp; &nbsp; &nbsp; iterator ''insert''(iterator '''position''', const T& '''x''');~
 
 &nbsp; &nbsp; &nbsp; void ''insert''(iterator '''position''', size_type '''n''', const T& '''x''');~
 
 &nbsp; &nbsp; &nbsp; template<class [[InputIterator>反復子#input]]>~
 &nbsp; &nbsp; &nbsp; &nbsp; void ''insert''(iterator '''position''', [[InputIterator>反復子#input]] '''first''', [[InputIterator>反復子#input]] '''last''');~
 
 &aname(erase);
 *** erase [#h32cca06]
 
 ''形式''~
 &nbsp; &nbsp; &nbsp; void ''erase''(iterator '''position''');~
 
 &nbsp; &nbsp; &nbsp; void ''erase''(iterator '''first''', iterator '''last''');~
 
 &aname(swap);
 *** swap [#f7e5adcd]
 
 ''形式''~
 &nbsp; &nbsp; &nbsp; void ''swap''(vector<T, Allocator>& '''x''');~
 
 &aname(clear);
 *** clear [#xfa6819e]
 
 ''形式''~
 &nbsp; &nbsp; &nbsp; void ''clear''();~
 
 &aname(specialization);
 *** vector の特殊化 [#gaa168ca]

トップ   一覧 単語検索   ヘルプ   最終更新のRSS
 ホーム | プロフィール | メール | ログイン | 管理
Copyright © 2005-2009 by TAKAGI Nobuhisa