Google


   


You are here: CodeIdol.com > C++ > C++ Coding Standards: 101 Rules, Guidelines, and Best Practices > Avoid Overloading , , Or , (comma)

SAVE
Digg
Shown on del.icio.us del.icio.us
See Whos Talking About This on Technorati Technorati
I've Reddit reddit

C++ Coding Standards: 101 Rules, Guidelines, and Best Practices



30. Avoid overloading &&, ||, or , (comma) SummaryDiscussionExamplesExceptionsReferences...



Wisdom means knowing when to refrain: The built-in &&, || , and, (comma) enjoy special treatment from the compiler. If you overload them, they become...

read more: Summary


The primary reason not to overload operator&&, operator|| , or operator, (comma) is that you cannot implement the full semantics of the built-in operators in...

read more: Discussion


Example: Initialization library with overloaded operator, for sequence initialization. One library helpfully tried to make it easier to add multiple values to a container in...

read more: Examples


An exception is expression template libraries, which by design capture all operators....

read more: Exceptions


[Dewhurst03] §14 • [Meyers96] §7, §25 • [Murray93] §2.• [Stroustrup00] §6.2.2...

read more: References

SAVE
Digg
Shown on del.icio.us del.icio.us
See Whos Talking About This on Technorati Technorati
I've Reddit reddit

You are here: CodeIdol.com > C++ > C++ Coding Standards: 101 Rules, Guidelines, and Best Practices > Avoid Overloading , , Or , (comma)


ADBRITE ads links
   
Related tags







Popular Categories
Unix books and guides

AJAX popular information
C# language guides
Windows books and cookbooks

.......








Business Key Top Sites

be number one
rate your site


камины челябинск

    С 2009 года мы стали переводить структура сайта на различные языки. Сайт теперь будет содержать книги не только на английском языке, но также и на других европейских языках, в том числе и на Русском языке.

    Русский Polski Francais Deutsch
    support sitemap terms

© CodeIdol Labs, 2007 - 2009