* 11.4 Class members [class.mem] 

  * C++17 standard (ISO/IEC 14882:2017): 

    

  * 8.10 Equality operators [expr.eq] 

    

  * 8.3.3 Sizeof [expr.sizeof] 

    

  * 12 Classes [class] 

    

  * 12.2 Class members [class.mem] 

  * C++14 standard (ISO/IEC 14882:2014): 

    

  * 5.10 Equality operators [expr.eq] 

    

  * 5.3.3 Sizeof [expr.sizeof] 

    

  * 9 Classes [class] 

    

  * 9.2 Class members [class.mem] 

  * C++11 standard (ISO/IEC 14882:2011): 

    

  * 5.10 Equality operators [expr.eq] (p: 2) 

    

  * 5.3.3 Sizeof [expr.sizeof] (p: 2) 

    

  * 9 Classes [class] (p: 4,7) 

    

  * 9.2 Class members [class.mem] (p: 20) 

  * C++98 standard (ISO/IEC 14882:1998): 

    

  * 5.10 Equality operators [expr.eq] (p: 2) 

    

  * 5.3.3 Sizeof [expr.sizeof] (p: 2) 

    

  * 9 Classes [class] (p: 3) 

###  [ [ edit ](/mwiki/index.php?title=cpp/language/ebo&action=edit&section=4
"Edit section: External links") ]  External links

|  [ More C++ Idioms/Empty Base Optimization
](https://en.wikibooks.org/wiki/More_C%2B%2B_Idioms/Empty_Base_Optimization) —
A wikibook  
---|---  
  
Retrieved from " [
https://en.cppreference.com/mwiki/index.php?title=cpp/language/ebo&oldid=151667
](https://en.cppreference.com/mwiki/index.php?title=cpp/language/ebo&oldid=151667)
"

#####  Navigation

  * [ Support us ](http://www.cppreference.com/support)
  * [ Recent changes ](/w/Special:RecentChanges "A list of recent changes in the wiki \[r\]")
  * [ FAQ ](/w/Cppreference:FAQ)
  * [ Offline version ](/w/Cppreference:Archives)

#####  Toolbox

  * [ What links here ](/w/Special:WhatLinksHere/cpp/language/ebo "A list of all wiki pages that link here \[j\]")
  * [ Related changes ](/w/Special:RecentChangesLinked/cpp/language/ebo "Recent changes in pages linked from this page \[k\]")
  * [ Upload file ](http://upload.cppreference.com/w/Special:Upload "Upload files \[u\]")
  * [ Special pages ](/w/Special:SpecialPages "A list of all special pages \[q\]")
  * [ Printable version ](/mwiki/index.php?title=cpp/language/ebo&printable=yes "Printable version of this page \[p\]")
  * [ Permanent link ](/mwiki/index.php?title=cpp/language/ebo&oldid=151667 "Permanent link to this revision of the page")
  * [ Page information ](/mwiki/index.php?title=cpp/language/ebo&action=info)

  * In other languages 

  * [ Deutsch ](http://de.cppreference.com/w/cpp/language/ebo "cpp/language/ebo")
  * [ Español ](http://es.cppreference.com/w/cpp/language/ebo "cpp/language/ebo")
  * [ Français ](http://fr.cppreference.com/w/cpp/language/ebo "cpp/language/ebo")
  * [ Italiano ](http://it.cppreference.com/w/cpp/language/ebo "cpp/language/ebo")
  * [ 日本語 ](http://ja.cppreference.com/w/cpp/language/ebo "cpp/language/ebo")
  * [ Português ](http://pt.cppreference.com/w/cpp/language/ebo "cpp/language/ebo")
  * [ Русский ](http://ru.cppreference.com/w/cpp/language/ebo "cpp/language/ebo")
  * [ 中文 ](http://zh.cppreference.com/w/cpp/language/ebo "cpp/language/ebo")

  * This page was last modified on 14 May 2023, at 06:36. 
  * This page has been accessed 146,999 times. 

  * [ Privacy policy ](/w/Cppreference:Privacy_policy "Cppreference:Privacy policy")
  * [ About cppreference.com ](/w/Cppreference:About "Cppreference:About")
  * [ Disclaimers ](/w/Cppreference:General_disclaimer "Cppreference:General disclaimer")

  * [ ![Powered by MediaWiki](/mwiki/skins/common/images/poweredby_mediawiki_88x31.png) ](//www.mediawiki.org/) [ ![Powered by GeSHi](//upload.cppreference.com/mwiki/images/2/2b/powered_by_geshi_88x31.png) ](http://qbnz.com/highlighter/) [ ![Hosted by Tiger Technologies](//upload.cppreference.com/mwiki/images/9/94/powered_by_tigertech_88x31.png) ](http://www.tigertech.net/referral/cppreference.com)