Click here to Skip to main content
15,905,781 members

Survey Results

C++ Buzzwords   [Edit]

Survey period: 16 Dec 2002 to 22 Dec 2002

With the latest version of VC++ coming out soon there's a lot of talk about what's new. Without Googling tell us which of the following concepts you are familiar enough with to use.

OptionVotes% 
Boost27761.28
Loki12828.32
Blitz5211.50
PTS4610.18
Full Koenig lookup11024.34
Empty aggregate initialization5211.50
Non-type template parameters15233.63
The unexpected() function14231.42
Respondents were allowed to choose more than one answer; totals may not add up to 100%



 
GeneralLogic error? Pin
Mike Nordell22-Dec-02 1:27
Mike Nordell22-Dec-02 1:27 
GeneralRe: Logic error? Pin
Jörgen Sigvardsson22-Dec-02 3:16
Jörgen Sigvardsson22-Dec-02 3:16 
GeneralRe: Logic error? Pin
Mike Nordell22-Dec-02 6:56
Mike Nordell22-Dec-02 6:56 
GeneralRe: Logic error? Pin
Jörgen Sigvardsson22-Dec-02 11:40
Jörgen Sigvardsson22-Dec-02 11:40 
GeneralRe: Logic error? Pin
Mike Nordell22-Dec-02 17:20
Mike Nordell22-Dec-02 17:20 
GeneralRe: Logic error? Pin
Jörgen Sigvardsson22-Dec-02 23:58
Jörgen Sigvardsson22-Dec-02 23:58 
GeneralThanks! Pin
Emilio Guijarro21-Dec-02 6:24
Emilio Guijarro21-Dec-02 6:24 
General:-( Pin
Nish Nishant20-Dec-02 15:27
sitebuilderNish Nishant20-Dec-02 15:27 
GeneralRe: :-( Pin
Brian Delahunty22-Dec-02 2:02
Brian Delahunty22-Dec-02 2:02 
Generalunexpected() Pin
DrPizza20-Dec-02 9:49
DrPizza20-Dec-02 9:49 
GeneralBut we already have non-type template parameters Pin
Nemanja Trifunovic18-Dec-02 15:19
Nemanja Trifunovic18-Dec-02 15:19 
GeneralRe: But we already have non-type template parameters Pin
Christian Graus18-Dec-02 17:47
protectorChristian Graus18-Dec-02 17:47 
GeneralRe: But we already have non-type template parameters Pin
Nemanja Trifunovic19-Dec-02 5:54
Nemanja Trifunovic19-Dec-02 5:54 
GeneralRe: But we already have non-type template parameters Pin
Joaquín M López Muñoz19-Dec-02 6:50
Joaquín M López Muñoz19-Dec-02 6:50 
GeneralRe: But we already have non-type template parameters Pin
Pater19-Dec-02 8:08
Pater19-Dec-02 8:08 
There actually is a flaw in MSVC 6.0 (don't know about 7)

template<unsigned N><br />
int Fib(void)<br />
{<br />
	return Fib(N-1)+Fib(N-2);<br />
}<br />
template<><br />
int Fib<1>(void)<br />
{<br />
	return 1;<br />
}<br />
template<><br />
int Fib<2>(void)<br />
{<br />
	return 1;<br />
}<br />

This doesn't work.

Writing something like

int i=Fib<5>();

Will instead of the correct (recursive) instantiation just instantiate Fib<1>()
GeneralRe: But we already have non-type template parameters Pin
Tim Smith19-Dec-02 9:29
Tim Smith19-Dec-02 9:29 
GeneralI swear Chris is doing this... Pin
David Stone17-Dec-02 4:45
sitebuilderDavid Stone17-Dec-02 4:45 
GeneralRe: I swear Chris is doing this... Pin
Tim Smith17-Dec-02 9:49
Tim Smith17-Dec-02 9:49 
GeneralRe: I swear Chris is doing this... Pin
Nish Nishant20-Dec-02 15:28
sitebuilderNish Nishant20-Dec-02 15:28 
GeneralRe: I swear Chris is doing this... Pin
Nish Nishant20-Dec-02 15:27
sitebuilderNish Nishant20-Dec-02 15:27 
GeneralWhen they tell you not to do it... Pin
Navin17-Dec-02 3:45
Navin17-Dec-02 3:45 
GeneralI need some explaination.... Pin
Jerome Conus17-Dec-02 0:49
Jerome Conus17-Dec-02 0:49 
GeneralRe: I need some explaination.... Pin
Christian Graus17-Dec-02 11:47
protectorChristian Graus17-Dec-02 11:47 
GeneralRe: I need some explaination.... Pin
Jerome Conus17-Dec-02 19:34
Jerome Conus17-Dec-02 19:34 
GeneralRe: I need some explaination.... Pin
Marc Britten20-Dec-02 5:03
Marc Britten20-Dec-02 5: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.