Click here to Skip to main content
15,441,434 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: C++ is love Pin
Mladen Janković15-Dec-20 14:30
MemberMladen Janković15-Dec-20 14:30 
GeneralRe: C++ is love Pin
honey the codewitch15-Dec-20 14:36
mvahoney the codewitch15-Dec-20 14:36 
GeneralRe: C++ is love Pin
Mladen Janković15-Dec-20 14:46
MemberMladen Janković15-Dec-20 14:46 
GeneralRe: C++ is love Pin
honey the codewitch15-Dec-20 17:06
mvahoney the codewitch15-Dec-20 17:06 
GeneralRe: C++ is love Pin
Mladen Janković16-Dec-20 1:28
MemberMladen Janković16-Dec-20 1:28 
GeneralRe: C++ is love Pin
Mladen Janković15-Dec-20 15:04
MemberMladen Janković15-Dec-20 15:04 
GeneralRe: C++ is love Pin
honey the codewitch15-Dec-20 17:07
mvahoney the codewitch15-Dec-20 17:07 
GeneralRe: C++ is love Pin
Mladen Janković16-Dec-20 0:27
MemberMladen Janković16-Dec-20 0:27 
9) you want to disable copy and move operations (constructor and assign operation) on StaticMemoryPool and copy operations on DynamicMemoryPool
10) ~StaticMemoryPool() {} don't provide user-defined special members functions if they are not really necessary and if you do have to define them because language rules deleted them, use = default to retain possible triviality of these operations

General rule is if you need to provide a single user-defined SMF, you need to provide them all. It was called rule-of-three, now it's known as rule-of-five.

Think about using clang-format and clang-tidy (they integrate well with VS these days).
GeneralRe: C++ is love Pin
honey the codewitch16-Dec-20 0:32
mvahoney the codewitch16-Dec-20 0:32 
GeneralRe: C++ is love Pin
Mladen Janković16-Dec-20 1:13
MemberMladen Janković16-Dec-20 1:13 
GeneralRe: C++ is love Pin
honey the codewitch16-Dec-20 1:19
mvahoney the codewitch16-Dec-20 1:19 
JokeRe: C++ is love Pin
Slacker00714-Dec-20 10:33
professionalSlacker00714-Dec-20 10:33 
GeneralRe: C++ is love Pin
honey the codewitch14-Dec-20 17:08
mvahoney the codewitch14-Dec-20 17:08 
GeneralRe: C++ is love Pin
den2k8814-Dec-20 21:48
professionalden2k8814-Dec-20 21:48 
GeneralRe: C++ is love Pin
Slacker00714-Dec-20 23:02
professionalSlacker00714-Dec-20 23:02 
GeneralRe: C++ is love Pin
honey the codewitch15-Dec-20 1:15
mvahoney the codewitch15-Dec-20 1:15 
GeneralRe: C++ is love Pin
Slacker00715-Dec-20 3:11
professionalSlacker00715-Dec-20 3:11 
GeneralRe: C++ is love Pin
honey the codewitch15-Dec-20 3:20
mvahoney the codewitch15-Dec-20 3:20 
GeneralRe: C++ is love Pin
Randor 14-Dec-20 9:27
professional Randor 14-Dec-20 9:27 
GeneralRe: C++ is love Pin
honey the codewitch14-Dec-20 9:50
mvahoney the codewitch14-Dec-20 9:50 
GeneralRe: C++ is love Pin
Johann Gerell14-Dec-20 22:25
MemberJohann Gerell14-Dec-20 22:25 
GeneralRe: C++ is love Pin
CodeWraith14-Dec-20 9:28
MemberCodeWraith14-Dec-20 9:28 
GeneralRe: C++ is love Pin
Jörgen Andersson14-Dec-20 9:28
professionalJörgen Andersson14-Dec-20 9:28 
GeneralRe: C++ is love Pin
CodeWraith14-Dec-20 9:38
MemberCodeWraith14-Dec-20 9:38 
GeneralRe: C++ is love Pin
den2k8814-Dec-20 21:52
professionalden2k8814-Dec-20 21:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Straw Poll

When building an application, when is the most important time to consider the User Experience?
They are the ones we write code for, right?
  Results   743 votes