Telegram Group & Telegram Channel
#cmap #map.h #map
🔵مپ(map)

🔹کتابخانه map

⚠️ادامه پست قبلی
www.tg-me.com/Learncpp/1777

🔹انواع عضو

1️⃣ اولین پارامتر الگو(Key)
Key_type
2️⃣ دومین پارامتر الگو(T)
mapped_type

3️⃣ سومین نوع عضو(value_type)
pair<const key_type,mapped_type>

4️⃣ سومین پارامتر الگو(Compare)
key_compare

◀️ یادداشت:
پیش فرض برای:

less<key_type>

5️⃣ کلاس تابع تو در تو برای مقایسه کردن
value_compare

◀️ یادداشت:
مشاهده کنید:
value_comp

6️⃣ چهارمین پارامتر الگو(Alloc)
allocator_type

◀️ یادداشت:
پیش فرض برای:
allocator<value_type>

7️⃣ هفتمین نوع عضو(refrence)
allocator_type::refence

◀️ یادداشت:
برای اختصاص دهنده پیش فرض:
const value_type&

8️⃣ هشتمین نوع عضو(const_refrence)
allocator_type::const_reference

◀️ یادداشت:
برای اختصاص دهنده پیش فرض:
const value_type&

9️⃣ نهمین نوع عضو(pointer)
allocator_type::pointer

◀️ یادداشت:
برای اختصاص دهنده پیش فرض:
value_type*

🔟 دهمین نوع عضو(const_pointer)
allocator_type::const_pointer

◀️ یادداشت:
برای اختصاص دهنده پیش فرض:
const_value_type*

1️⃣1️⃣ یازدهمین نوع عضو(iterator)
یک iterator دو طرفه برای
value_type

◀️ یادداشت:
قابل تبدیل به const_iterator

2️⃣1️⃣ دوازدهمین نوع عضو(const_iterator) یک iterator دو طرفه برای const value_type

3️⃣1️⃣ سیزدهمین نوع عضو(reserve_iterator)
reverse_iterator<iterator>

4️⃣1️⃣ چهاردهمین نوع عضو
(const_reserve_iterator) reverse_iterator<const_iterator>

5️⃣1️⃣ پانزدهمین نوع عضو(diffrent_type) یک نوع جدایی ناپذیر علامت دار همانند:
iterator_traits<iterator>::difference_type

◀️ یادداشت:
معمولا مشابه ptrdiff_t

6️⃣1️⃣ شانزدهمین عضو(size_type)
یک نوع جدایی ناپذیر بدون علامت که می تواند هر مقدار غیر منفی از difference_type را نمایش دهد.

◀️ یادداشت:
معمولا مشابه size_t

🔰ترجمه شده از سایت
www.cplusplus.com

@Learncpp



tg-me.com/learncpp/1778
Create:
Last Update:

#cmap #map.h #map
🔵مپ(map)

🔹کتابخانه map

⚠️ادامه پست قبلی
www.tg-me.com/Learncpp/1777

🔹انواع عضو

1️⃣ اولین پارامتر الگو(Key)
Key_type
2️⃣ دومین پارامتر الگو(T)
mapped_type

3️⃣ سومین نوع عضو(value_type)
pair<const key_type,mapped_type>

4️⃣ سومین پارامتر الگو(Compare)
key_compare

◀️ یادداشت:
پیش فرض برای:

less<key_type>

5️⃣ کلاس تابع تو در تو برای مقایسه کردن
value_compare

◀️ یادداشت:
مشاهده کنید:
value_comp

6️⃣ چهارمین پارامتر الگو(Alloc)
allocator_type

◀️ یادداشت:
پیش فرض برای:
allocator<value_type>

7️⃣ هفتمین نوع عضو(refrence)
allocator_type::refence

◀️ یادداشت:
برای اختصاص دهنده پیش فرض:
const value_type&

8️⃣ هشتمین نوع عضو(const_refrence)
allocator_type::const_reference

◀️ یادداشت:
برای اختصاص دهنده پیش فرض:
const value_type&

9️⃣ نهمین نوع عضو(pointer)
allocator_type::pointer

◀️ یادداشت:
برای اختصاص دهنده پیش فرض:
value_type*

🔟 دهمین نوع عضو(const_pointer)
allocator_type::const_pointer

◀️ یادداشت:
برای اختصاص دهنده پیش فرض:
const_value_type*

1️⃣1️⃣ یازدهمین نوع عضو(iterator)
یک iterator دو طرفه برای
value_type

◀️ یادداشت:
قابل تبدیل به const_iterator

2️⃣1️⃣ دوازدهمین نوع عضو(const_iterator) یک iterator دو طرفه برای const value_type

3️⃣1️⃣ سیزدهمین نوع عضو(reserve_iterator)
reverse_iterator<iterator>

4️⃣1️⃣ چهاردهمین نوع عضو
(const_reserve_iterator) reverse_iterator<const_iterator>

5️⃣1️⃣ پانزدهمین نوع عضو(diffrent_type) یک نوع جدایی ناپذیر علامت دار همانند:
iterator_traits<iterator>::difference_type

◀️ یادداشت:
معمولا مشابه ptrdiff_t

6️⃣1️⃣ شانزدهمین عضو(size_type)
یک نوع جدایی ناپذیر بدون علامت که می تواند هر مقدار غیر منفی از difference_type را نمایش دهد.

◀️ یادداشت:
معمولا مشابه size_t

🔰ترجمه شده از سایت
www.cplusplus.com

@Learncpp

BY Learning ©➕➕


Warning: Undefined variable $i in /var/www/tg-me/post.php on line 283

Share with your friend now:
tg-me.com/learncpp/1778

View MORE
Open in Telegram


Learning © Telegram | DID YOU KNOW?

Date: |

In many cases, the content resembled that of the marketplaces found on the dark web, a group of hidden websites that are popular among hackers and accessed using specific anonymising software.“We have recently been witnessing a 100 per cent-plus rise in Telegram usage by cybercriminals,” said Tal Samra, cyber threat analyst at Cyberint.The rise in nefarious activity comes as users flocked to the encrypted chat app earlier this year after changes to the privacy policy of Facebook-owned rival WhatsApp prompted many to seek out alternatives.

What is Secret Chats of Telegram

Secret Chats are one of the service’s additional security features; it allows messages to be sent with client-to-client encryption. This setup means that, unlike regular messages, these secret messages can only be accessed from the device’s that initiated and accepted the chat. Additionally, Telegram notes that secret chats leave no trace on the company’s services and offer a self-destruct timer.

Learning © from us


Telegram Learning ©➕➕
FROM USA