Advance C++ Topics

                                    Advance C++ Topics

https://shaharmike.com/cpp/

Shahar mike blogs have
C++98's RVO
Copy Elison
Move semantics
shared_ptr
unique_ptr
Template SFINAE & type-traits
UserData class
Naive std::function implementation



Rule of three
Enumerated constants
Copy-on-write
Copy-and-swap
Copy elision in C++
compile-time function evaluation/execution
auto_ptr
Expression templates
Private Destructor
static objects
Object Slicing in C++
Creating a Shared Object
Functors in C++
binary manipulation in C++
opaque pointers
smart pointers
Simulating Final class
nesting of classes & namespaces
Barton–Nackman trick
Substitution failure is not an error
as-if rule
Empty Base optimization
RTTI (Run-time type Information) in C++
RAII in C++

std::bitset & manipulators
std::span

More Advanced Topics as described in https://en.wikibooks.org/wiki/More_C%2B%2B_Idioms

It contains the following

  1. Address Of 75% developed  as of 9 Oct 2011
  2. Algebraic Hierarchy 75% developed  as of 12 June 2008
  3. Attach by Initialization 75% developed  as of 22 Oct 2011
  4. Attorney-Client 75% developed  as of 9 Oct 2011
  5. Barton-Nackman trick 75% developed  as of 21 Feb 2011
  6. Base-from-Member 75% developed  as of 6 August 2007
  7. Boost mutant 75% developed  as of 9 May 2010
  8. Calling Virtuals During Initialization 75% developed  as of 6 August 2007
  9. Capability Query 100% developed  as of 21 Feb 2011
  10. Checked delete 75% developed  as of 15 August 2007
  11. Clear-and-minimize 75% developed  as of 10 August 2007
  12. Coercion by Member Template 100% developed  as of 14 August 2007
  13. Computational Constructor 75% developed  as of 9 Oct 2011
  14. Concrete Data Type 75% developed  as of 17 March 2008
  15. Construct On First Use 75% developed  as of 6 August 2007
  16. Construction Tracker 75% developed  as of 6 August 2007
  17. Copy-and-swap 75% developed  as of 10 August 2007
  18. Copy-on-write 100% developed  as of 20 May 2009
  19. Intrusive reference counting (Counted Body) 75% developed  as of 16 November 2007
  20. Covariant Return Types TODO
  21. Curiously Recurring Template Pattern (CRTP) 75% developed  as of 6 August 2007
  22. Deprecate and Delete TODO
  23. Empty Base Optimization (EBO) 75% developed  as of 9 Oct 2011
  24. enable-if 75% developed  as of 21 Feb 2011
  25. Erase-Remove 75% developed  as of 17 November 2007
  26. Execute-Around Pointer 75% developed  as of 6 August 2007
  27. Exploding Return Type TODO
  28. Export Guard Macro TODO
  29. Expression-template 75% developed  as of 6 August 2007
  30. Fake Vtable TODO
  31. Fast Pimpl 0% developed  as of 6 August 2007 TODO
  32. Final Class 75% developed  as of 10 May 2010
  33. Free Function Allocators75% developed  as of 18 June 2014
  34. Function Object TODO
  35. Function Poisoning TODO
  36. Generic Container Idioms 75% developed  as of 22 November 2007
  37. Hierarchy Generation TODO
  38. Implicit conversions TODO
  39. Include Guard Macro 75% developed  as of 3 November 2007
  40. Inline Guard Macro 75% developed  as of 3 November 2007
  41. Inner Class 75% developed  as of 31 August 2007
  42. Int-To-Type 75% developed  as of 21 September 2008
  43. Interface Class 75% developed  as of 6 January 2008
  44. Iterator Pair 100% developed  as of 28 October 2007
  45. Making New Friends 75% developed  as of 5 January 2008
  46. Metafunction 75% developed  as of 15 September 2008
  47. Move Constructor 100% developed  as of 13 August 2007
  48. Multi-statement Macro 75% developed  as of 16 February 2008
  49. Member Detector 75% developed  as of 10 May 2010
  50. Named Constructor 75% developed  as of 28 September 2008
  51. Named External Argument TODO
  52. Named Loop (labeled loop) 75% developed  as of 9 May 2010
  53. Named Parameter 75% developed  as of 11 May 2010
  54. Named Template Parameters TODO
  55. Nifty Counter (Schwarz Counter) 75% developed  as of 6 August 2007
  56. Non-copyable Mixin 75% developed  as of 6 August 2007
  57. Non-member Non-friend Function 0% developed  as of 10 March 2008 TODO
  58. Non-throwing swap 75% developed  as of 9 January 2008
  59. Non-Virtual Interface (NVI, Public Overloaded Non-Virtuals Call Protected Non-Overloaded Virtuals) 75% developed  as of 12 June 2008
  60. nullptr 75% developed  as of 3 November 2007
  61. Object Generator 75% developed  as of 14 September 2008
  62. Object Template TODO
  63. Parameterized Base Class (Parameterized Inheritance) 75% developed  as of 6 August 2007
  64. Pimpl (Handle Body, Compilation Firewall, Cheshire Cat) 0% developed  as of 2nd March 2011
  65. Policy Clone (Metafunction wrapper) 100% developed  as of 14 August 2007
  66. Policy-based Design TODO
  67. Polymorphic Exception 75% developed  as of 28 September 2008
  68. Polymorphic Value Types 0% developed  as of 24 June 2012 TODO
  69. Recursive Type Composition TODO
  70. Requiring or Prohibiting Heap-based Objects
  71. Resource Acquisition Is Initialization (RAII, Execute-Around Object, Scoped Locking) 100% developed  as of 6 November 2007
  72. Resource Return 75% developed  as of 3 November 2007
  73. Return Type Resolver 75% developed  as of 10 May 2010
  74. Runtime Static Initialization Order Idioms 75% developed  as of 6 August 2007
  75. Safe bool 75% developed  as of 6 August 2007
  76. Scope Guard 100% developed  as of 14 August 2007
  77. Substitution Failure Is Not An Error (SFINAE) 75% developed  as of 12 May 2012
  78. Shortening Long Template Names TODO
  79. Shrink-to-fit 75% developed  as of 10 August 2007
  80. Small Object Optimization TODO
  81. Smart Pointer 75% developed  as of 17 November 2007
  82. Storage Class Tracker TODO
  83. Tag Dispatching 0% developed  as of 21 October 2007 TODO
  84. Temporary Base Class 75% developed  as of 6 August 2007
  85. Temporary Proxy 75% developed  as of 6 August 2007
  86. The result_of technique TODO
  87. Thin Template 75% developed  as of 6 August 2007
  88. Thread-Safe Interface TODO
  89. Traits 0% developed  as of 21 October 2007 TODO
  90. Type Erasure 75% developed  as of 4 February 2015
  91. Type Generator (Templated Typedef) 75% developed  as of 14 September 2008
  92. Type Safe Enum 75% developed  as of 11 May 2010
  93. Type Selection 75% developed  as of 9 May 2010
  94. Virtual Constructor 75% developed  as of 17 March 2008
  95. Virtual Friend Function 75% developed  as of 10 May 2010

Advanced idioms

These are some more advanced C++ idioms.

  1. Envelope Letter 75% developed  as of 1 February 2008 TODO





Comments

Popular posts from this blog

VECPP.c

Comparision with Quick Sort

Interview questions