About adoption of diagnostic messages on non-explicit initialisationof POD types in the C++ standard

I

Ioannis Vranos

I think this one should be discussed in its own thread:


What argument can be against getting diagnostic messages (e.g. warnings) for non-explicit initialisation of
all POD types in all situations, being adopted in the C++ standard, when there is no explicit initialisation
provided by the programmer?


Also consider the recommendation of one programmer who in another thread suggested the following type of
explicit non-initialisation, when we do not want explicit initialisation:


int x= void; // Explicit non-initialisation. No implementation diagnostics here.



--
Ioannis A. Vranos

C95 / C++03 Developer

http://www.cpp-software.net
 
J

joshuamaurice

I think this one should be discussed in its own thread:

What argument can be against getting diagnostic messages (e.g. warnings) for non-explicit initialisation of
all POD types in all situations, being adopted in the C++ standard, when there is no explicit initialisation
provided by the programmer?

Also consider the recommendation of one programmer who in another thread suggested the following type of
explicit non-initialisation, when we do not want explicit initialisation:

int x= void; // Explicit non-initialisation. No implementation diagnostics here.

This is like the third thread on this topic in the last 2 days. Could
you post in one of those, or at least make this the last?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top