Click here to Skip to main content
15,889,096 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: compile a class Pin
mathy27-Jan-10 21:30
mathy27-Jan-10 21:30 
AnswerRe: compile a class Pin
loyal ginger28-Jan-10 1:43
loyal ginger28-Jan-10 1:43 
AnswerRe: compile a class Pin
CPallini27-Jan-10 11:00
mveCPallini27-Jan-10 11:00 
QuestionDLL "organization" ? Pin
Vaclav_27-Jan-10 7:13
Vaclav_27-Jan-10 7:13 
AnswerRe: DLL "organization" ? Pin
Richard MacCutchan27-Jan-10 9:24
mveRichard MacCutchan27-Jan-10 9:24 
QuestionNumeric Template Error C2296 Pin
Skippums27-Jan-10 6:51
Skippums27-Jan-10 6:51 
AnswerRe: Numeric Template Error C2296 Pin
Richard MacCutchan27-Jan-10 9:14
mveRichard MacCutchan27-Jan-10 9:14 
GeneralRe: Numeric Template Error C2296 Pin
Skippums27-Jan-10 10:15
Skippums27-Jan-10 10:15 
Thank you for your response. Yes, I understand why I am getting the error, as well as the fact that my checks are performed at runtime. My question is, is there some way to accomplish this without having to create a template specialization for every integer and floating point type? It seems absurd that there isn't some compile-time guard that I could use to perform the same logic, but I couldn't think of one specifically. Unless I hear any ideas on how to better accomplish this, I am planning to have one method for floating types and another for integer types. Thanks,

Sounds like somebody's got a case of the Mondays

-Jeff

GeneralRe: Numeric Template Error C2296 Pin
Richard MacCutchan27-Jan-10 22:00
mveRichard MacCutchan27-Jan-10 22:00 
GeneralRe: Numeric Template Error C2296 Pin
Skippums28-Jan-10 3:49
Skippums28-Jan-10 3:49 
GeneralRe: Numeric Template Error C2296 Pin
Richard MacCutchan28-Jan-10 5:16
mveRichard MacCutchan28-Jan-10 5:16 
GeneralRe: Numeric Template Error C2296 Pin
Ken Moynihan28-Jun-10 16:41
Ken Moynihan28-Jun-10 16:41 
GeneralRe: Numeric Template Error C2296 Pin
Richard MacCutchan28-Jun-10 21:29
mveRichard MacCutchan28-Jun-10 21:29 
GeneralRe: Numeric Template Error C2296 Pin
kmoy00728-Jun-10 22:46
kmoy00728-Jun-10 22:46 
GeneralRe: Numeric Template Error C2296 Pin
Richard MacCutchan29-Jun-10 1:40
mveRichard MacCutchan29-Jun-10 1:40 
Questionscrolling image using GDI+ under Windows 7 is very slow and flicking Pin
CODEPC27-Jan-10 4:14
CODEPC27-Jan-10 4:14 
AnswerRe: scrolling image using GDI+ under Windows 7 is very slow and flicking Pin
LunaticFringe27-Jan-10 11:08
LunaticFringe27-Jan-10 11:08 
GeneralRe: scrolling image using GDI+ under Windows 7 is very slow and flicking Pin
CODEPC27-Jan-10 12:09
CODEPC27-Jan-10 12:09 
GeneralRe: scrolling image using GDI+ under Windows 7 is very slow and flicking Pin
LunaticFringe27-Jan-10 13:06
LunaticFringe27-Jan-10 13:06 
QuestionClosing a document and leaving the view Pin
maycockt27-Jan-10 3:13
maycockt27-Jan-10 3:13 
AnswerRe: Closing a document and leaving the view Pin
CPallini27-Jan-10 3:30
mveCPallini27-Jan-10 3:30 
GeneralRe: Closing a document and leaving the view [modified] Pin
maycockt27-Jan-10 3:58
maycockt27-Jan-10 3:58 
AnswerRe: Closing a document and leaving the view Pin
krmed27-Jan-10 4:37
krmed27-Jan-10 4:37 
GeneralRe: Closing a document and leaving the view Pin
maycockt27-Jan-10 4:48
maycockt27-Jan-10 4:48 
GeneralRe: Closing a document and leaving the view Pin
krmed27-Jan-10 4:53
krmed27-Jan-10 4:53 

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.