Mavzu: assosiativ va tartiblanmagan assosiativ konteynerlar reja
set - Bu konteyner joyida qiymatlarni o‘zgartirishga yo‘l qo‘ymaydi
Download 127.31 Kb.
|
tl4Z0UMKrTZbC9NdE9w9eYsMfgJB5joUuJ9400gY
o‘zgartirishga yo‘l qo‘ymaydi. qidirish imkonini beradi. set
Typedef operatorlari: typedef Key key_type; typedef Key value_type; typedef Allocator typedef Allocator typedef Compare value_compare; typedef iterator; typedef iterator const_iterator; typedef size_type; typedef difference_type; Xotirani ajratish va bo‘shatish operatorlari (allocation/deallocation): set(const Compare& comp = Compare()); template set(InputIterator first, InputIterator last, const Compare& comp = Compare()); set(const set ~set();
Ruxsat berish vositalarining operatorlari (accessors): key_compare key_comp() const; value_compare value_comp() const; iterator begin() const; iterator end() const; reverse_iterator rbegin() const; reverse_iterator rend() const; bool empty() const; size_type size() const; size_type max_size() const; Qo‘shish va o‘chirish operatorlari (insert/erase): pair void insert(InputIterator first, InputIterator last); void erase(iterator position); size_type erase(const key_type& x); void erase(iterator first, iterator last); To‘plam amallari (set operations): iterator find(const key_type& x) const; size_type count(const key_type& x) const; iterator lower_bound(const key_type& x) const; iterator upper_bound(const key_type& x) const; pair Taqqoslash operatorlari: template const set template Download 127.31 Kb. Do'stlaringiz bilan baham: |
Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling
ma'muriyatiga murojaat qiling