Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

More C++ Idioms/Contents

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

Table of Contents Note: synonyms for each idiom are listed in parentheses. Acyclic Visitor Pattern TODO Address Of 75% 9 October 2011 Algebraic Hierarchy 75% 12 June 2008 Attach by Initialization 75% 22 October 2011 Attorney-Client 75% 9 October 2011 Barton-Nackman trick 75% 21 February 2011 Base-from-Member 75% 6 August 2007 Boost mutant 75% 9 May 2010 Calling Virtuals During Initialization 75% 6 August 2007 Capability Query 100% 21 February 2011 Checked delete 75% 15 August 2007 Clear-and-minimize 75% 10 August 2007 Coercion by Member Template 100% 14 August 2007 Computational Constructor 75% 9 October 2011 Concrete Data Type 75% 17 March 2008 Construct On First Use 75% 6 August 2007 Construction Tracker 75% 6 August 2007 Copy-and-swap 75% 10 August 2007 Copy-on-write 100% 20 May 2009 Thread-safe Copy-on-write 100% 20 May 2009 Intrusive reference counting (Counted Body) 75% 16 November 2007 Covariant Return Types TODO Curiously Recurring Template Pattern (CRTP) 100% 7 June 2024 Deprecate and Delete TODO Empty Base Optimization (EBO) 75% 9 October 2011 enable-if 75% 21 Feb 2011 Erase-Remove 75% 17 November 2007 Execute-Around Pointer 75% 6 August 2007 Exploding Return Type TODO Export Guard Macro TODO Expression-template 75% 6 August 2007 Fake Vtable TODO Fast Pimpl 00% 6 August 2007 TODO Final Class 75% 10 May 2010 Free Function Allocators75% 18 June 2014 Function Object TODO Function Poisoning TODO Generic Container Idioms 75% 22 November 2007 Hierarchy Generation TODO Implicit conversions TODO Include Guard Macro 75% 3 November 2007 Inline Guard Macro 75% 3 November 2007 Inner Class 75% 31 August 2007 Int-To-Type 75% 21 September 2008 Interface Class 75% 6 January 2008 Iterator Pair 100% 28 October 2007 Making New Friends 75% 5 January 2008 Metafunction 75% 15 September 2008 Move Constructor 100% 13 August 2007 Multi-statement Macro 75% 16 February 2008 Member Detector 75% 10 May 2010 Named Constructor 75% 28 September 2008 Named External Argument TODO Named Loop (labeled loop) 75% 9 May 2010 Named Parameter 75% 11 May 2010 Named Template Parameters TODO Nifty Counter (Schwarz Counter) 75% 6 August 2007 Non-copyable Mixin 75% 6 August 2007 Non-member Non-friend Function 00% 10 March 2008 TODO Non-throwing swap 75% 9 January 2008 Non-Virtual Interface (NVI, Public Overloaded Non-Virtuals Call Protected Non-Overloaded Virtuals) 75% 12 June 2008 nullptr 75% 3 November 2007 Object Generator 75% 14 September 2008 Object Template TODO Parameterized Base Class (Parameterized Inheritance) 75% 6 August 2007 Pimpl (Handle Body, Compilation Firewall, Cheshire Cat) 0% 2 March 2011 Policy Clone (Metafunction wrapper) 100% 14 August 2007 Policy-based Design TODO Polymorphic Exception 75% 28 September 2008 Polymorphic Value Types 75% 21 June 2024 Recursive Type Composition TODO Requiring or Prohibiting Heap-based Objects Resource Acquisition Is Initialization (RAII, Execute-Around Object, Scoped Locking) 100% 6 November 2007 Resource Return 75% 3 November 2007 Return Type Resolver 75% 10 May 2010 Runtime Static Initialization Order Idioms 75% 6 August 2007 Safe bool 75% 6 August 2007 Scope Guard 100% 14 August 2007 Substitution Failure Is Not An Error (SFINAE) 75% 12 May 2012 Shortening Long Template Names TODO Shrink-to-fit 75% 10 August 2007 Small Object Optimization TODO Smart Pointer 75% 17 November 2007 Storage Class Tracker TODO Tag Dispatching 50% 20 June 2024 Temporary Base Class 75% 6 August 2007 Temporary Proxy 75% 6 August 2007 The result_of technique TODO Thin Template 75% 6 August 2007 Thread-Safe Interface TODO Traits 75% 20 June 2024 Type Erasure 75% 4 February 2015 Type Generator (Templated Typedef) 75% 14 September 2008 Type Safe Enum 75% 11 May 2010 Type Selection 75% 9 May 2010 Virtual Constructor 75% 17 March 2008 Virtual Friend Function 75% 10 May 2010 Advanced idioms These are some more advanced C++ idioms. Envelope Letter 75% 1 February 2008 TODO Deprecated idioms Const auto_ptr 75% 15 August 2007 ja:More C++ Idioms/Contents