Search code examples
What is the "source object is lvalue" scenario, mentioned in EMC++, where move semantics o...


c++c++11move-semanticslvalueeffective-c++

Read More
Returning local variables in C++ (Rule 21 in Effective C++, 3rd edition)...


c++effective-c++

Read More
Is overloading on universal references now much safer with concepts in c++ 20...


c++c++20c++-conceptsforwarding-referenceeffective-c++

Read More
Effective C++ (3rd edition) Item 4 code layout...


c++includeeffective-c++

Read More
Can I cache after using std::make_shared?...


c++effective-c++

Read More
Recursive constexpr function...


c++recursionconstexprdecltypeeffective-c++

Read More
What would a default lambda capture mode via init capture be like?...


c++c++11lambdac++14effective-c++

Read More
Understanding comment from the errata about Item 41 of EMC++...


c++c++11overloadingforwarding-referenceeffective-c++

Read More
Understanding of Scott Meyers' third example of std::weak_ptr...


c++c++11shared-ptrweak-ptreffective-c++

Read More
Why should I prefer the "explicitly typed initializer" idiom over explicitly giving the ty...


c++c++11effective-c++

Read More
Is it appropriate to set a value to a "const char *" in the header file...


c++const-chareffective-c++

Read More
About std::cout, why use "extern" rether than "singleton pattern"...


c++iostreameffective-c++

Read More
Why is argc not a constant?...


c++constantsprogram-entry-pointargceffective-c++

Read More
Effective C++ Item 23 Prefer non-member non-friend functions to member functions...


c++encapsulationmember-functionsnon-member-functionseffective-c++

Read More
Do strncpy/memcpy/memmove copy the data byte by byte or in another efficiently way?...


memcpystrcpystrncpymemmoveeffective-c++

Read More
Effective C++: Item 41 - confusion about Implicit interfaces...


c++effective-c++

Read More
Assignment of function pointers (effective c++ item 35)...


c++function-pointerseffective-c++

Read More
Function-like macros and strange behavior...


c++macroseffective-c++

Read More
How to understand "implementations of virtual constructors" in Effective C++...


c++effective-c++

Read More
How many temporary objects are created when two objects are added together without the return value ...


c++operator-keywordcopy-elisionreturn-value-optimizationeffective-c++

Read More
About downcasting from base class to subclass pointer...


c++mfccastingstatic-analysiseffective-c++

Read More
How reference deduce works?...


c++c++11rvalue-referenceeffective-c++forward-reference

Read More
In Effective C++ Item 3,why use static_cast<const TextBlock&>(*this) instead of static_cas...


c++referenceeffective-c++

Read More
Deducing the types...


c++c++11effective-c++

Read More
How to understand the typedef in this declaration...


c++typedefforward-declarationeffective-c++

Read More
Container front and back behavior...


c++stleffective-c++

Read More
What function does C++ write and call in an empty class?...


c++default-constructoreffective-c++empty-class

Read More
Why does static_cast(*this) to a base class create a temporary copy?...


c++castingeffective-c++

Read More
How to make base template class functions visible in derived class?...


c++templateseffective-c++

Read More
What is binary upgradability?...


c++effective-c++

Read More
BackNext