This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
And, in general, we are trying to avoid situations where seemingly simple code does something expensive, right?
In C++, you can of course make what looks like
simple code do something expensive; for example, you can make "a + b" be
arbitrarily complex if "a" and "b" are instances of class types and you
have overloaded "+".
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |