Click here to Skip to main content
15,922,894 members

Survey Results

C++ compliance and your code   [Edit]

Survey period: 3 Dec 2001 to 9 Dec 2001

If a future release of the VC++ compiler went from 89% compliance to 97% compliance but may not compile 100% of existing code (due to it being non-conformant) then how much of your code would you be willing to change in order to make it standard compliant? (suggested by Nick Hodapp, Microsoft)

OptionVotes% 
No lines10517.24
10 lines out of every 15,0006210.18
20 lines out of every 15,000579.36
50 lines out of every 15,0009415.44
More than 100 lines in every 15,000 lines29147.78



 
GeneralRe: Which 11% isn't compliant already? Pin
Chris Losinger3-Dec-01 10:45
professionalChris Losinger3-Dec-01 10:45 
GeneralRe: Which 11% isn't compliant already? Pin
Christian Graus3-Dec-01 11:27
protectorChristian Graus3-Dec-01 11:27 
GeneralRe: Which 11% isn't compliant already? Pin
Chris Losinger3-Dec-01 12:38
professionalChris Losinger3-Dec-01 12:38 
GeneralRe: Which 11% isn't compliant already? Pin
Christian Graus3-Dec-01 12:46
protectorChristian Graus3-Dec-01 12:46 
GeneralRe: Which 11% isn't compliant already? Pin
Anna-Jayne Metcalfe7-Dec-01 0:32
Anna-Jayne Metcalfe7-Dec-01 0:32 
GeneralRe: Which 11% isn't compliant already? Pin
3-Dec-01 12:47
suss3-Dec-01 12:47 
GeneralRe: Which 11% isn't compliant already? Pin
Giles4-Dec-01 9:05
Giles4-Dec-01 9:05 
GeneralRe: Which 11% isn't compliant already? Pin
Jonathan Gilligan4-Dec-01 13:20
Jonathan Gilligan4-Dec-01 13:20 
What many people don't appreciate is that you don't have to know about partial template specialization or Koenig lookup to be able to use a library that uses these features.

Most developers will not write PTS code, but many may start to use libraries such as Blitz++ that make extensive use of PTS.

Here's an example. Suppose I want to use the STL library's std::list.sort() member function. In true STL I can choose to sort the list on any predicate I choose, but in Microsoft STL (from VC++ 6.0, all service packs) I can only sort using the predicate greater(). I don't have to care why Microsoft STL doesn't work (at the time, it was another obscure C++ template compliance problem that 99% of developers didn't understand or care about) to be annoyed that I can't use std::list to sort a list by arbitrary predicates (imagine a list of objects with attributes FirstName and SocSecNum and that I want to be able to sort by predicates by_name() and by_ssn()).

Similarly, there are many libraries out there that will continue not to be usable by VC++ until it supports PTS and other standards items. We don't have to understand all the internals of a library to use it, but the compiler must be compliant to work with it.
GeneralRe: Which 11% isn't compliant already? Pin
Chris Losinger5-Dec-01 4:04
professionalChris Losinger5-Dec-01 4:04 
GeneralRe: Which 11% isn't compliant already? Pin
Jonathan Gilligan10-Dec-01 10:18
Jonathan Gilligan10-Dec-01 10:18 
GeneralRe: Which 11% isn't compliant already? Pin
Chris Maunder3-Dec-01 3:42
cofounderChris Maunder3-Dec-01 3:42 
GeneralRe: Which 11% isn't compliant already? Pin
Chris Losinger3-Dec-01 4:10
professionalChris Losinger3-Dec-01 4:10 
GeneralRe: Which 11% isn't compliant already? Pin
Navin3-Dec-01 8:33
Navin3-Dec-01 8:33 
GeneralRe: Which 11% isn't compliant already? Pin
3-Dec-01 12:27
suss3-Dec-01 12:27 
GeneralRe: Which 11% isn't compliant already? Pin
Tim Smith3-Dec-01 13:11
Tim Smith3-Dec-01 13:11 
GeneralRe: Which 11% isn't compliant already? Pin
Christian Graus3-Dec-01 10:13
protectorChristian Graus3-Dec-01 10:13 
GeneralNon-Standards Compliance Pin
Fazlul Kabir3-Dec-01 3:04
Fazlul Kabir3-Dec-01 3:04 
GeneralTo what end... Pin
Tim Smith3-Dec-01 2:22
Tim Smith3-Dec-01 2:22 
GeneralRe: To what end... Pin
Christian Graus3-Dec-01 10:06
protectorChristian Graus3-Dec-01 10:06 
GeneralMany coders aren't aware of used extentions. Pin
2-Dec-01 20:52
suss2-Dec-01 20:52 
GeneralWell...... Pin
Christian Graus2-Dec-01 18:57
protectorChristian Graus2-Dec-01 18:57 
GeneralRe: Well...... Pin
Paul Selormey3-Dec-01 0:09
Paul Selormey3-Dec-01 0:09 
GeneralRe: Well...... Pin
CodeGuy3-Dec-01 7:03
CodeGuy3-Dec-01 7:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.