Singleton Design Pattern In C++
Автор: CppNuts
Загружено: 29 янв. 2017 г.
Просмотров: 82 242 просмотра
JOIN ME
—————
YouTube 🎬 / @cppnuts
Patreon 🚀 / cppnuts
TUTORIALS PLAYLIST
————————————
C++ Tutorial For Beginners: • Introduction To C++
STL (Standard Template Library): • STL In C++
ThreadIng In C++: • Multithreading In C++
Data Structures: • Data Structure
Algorithms: • Binary Search
Design Patterns: • Factory Design Pattern in C++
Smart Pointers: • Smart Pointer In C++
C++14: • Digit Separator In C++
C++17: • std string_view in C++17 | Fastest St...
C++ All Type Casts: • static_cast In C++
INTERVIEW PLAYLIST
————————————
C++ Interview Q&A: • Structural Padding & Packing In C & C++
C++ Interview Q&A For Experienced: • How delete[] Knows How Much To Deall...
Linked List Interview Questions: • Find Kth Node From Back In Singly Lin...
BST Interview Questions: • Search Element In Binary Search Tree ...
Array Interview Questions: • Reverse An Array
String Interview Questions: • Check String Is Palindrome Or Not
Bit Manipulation Questions: • Find Set Bit In Integer Number
Binary Tree Interview Question: • Invert Binary Tree
Sorting Algorithms: • Bubble Sort
C++ MCQ: • Видео
C MCQ: • What printf returns after printing? |...
C Interview Questions: • Designated Initialization In C
QUICK SHORT VIDEOS
————————————-
C++ Short : • C++ Short Videos
C Short : • Shorts C Programming MCQ
Singleton design pattern is a creational design pattern and one of the main design pattern to learn, it gives great flexibility over global variables, but this design pattern should be build with good care otherwise developer may fall into lots of problem.
And one of the main problem could be concurrency, when two or more threads are trying to access the same object which you created as singleton might end-up corrupting the data. SO one need to be very careful which design Singleton Design Pattern.
In Singleton design pattern in c++ video tutorial i have tried to explain with the help of definition, requirements, advantages, usage, UML diagram, single design pattern in c++ live example.
If you find anything inappropriate please do comment i will try to fix.
Thanks for watching my video on Singleton design pattern in c++.
#designpatterns #cpp #interviewquestions #programming #tutorial #computerscience #softwareengineering

Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: