![]() |
intrinsic,primitive types
When initializing non-static data members of built-in / intrinsic / primitive types, should I use the "initialization list" or assignment.....????
|
Re: intrinsic,primitive types
These days it does not make much of a difference because PC are more than what the benefit it gives for initialization list and assignments.
At least from practicality point of view I prefer assignments because it makes code cleaner and I don't have to think more when I edit the class with new data members. |
Re: intrinsic,primitive types
Quote:
|
Re: intrinsic,primitive types
I agree but as the thread is in C-C++ forum its expected not to be in that language but yes its not impossible.
|
Re: intrinsic,primitive types
Quote:
But I am talking in same langauges C++ only but i mean processorlike MPC,i960 etc for embedded software. It's not like core dual, p4 etc. You are absolutely right |
| All times are GMT +5.5. The time now is 06:42. |