Since 4/27/2012 9:14:22 PM, clarkcox3 has written 1 articles and participated in 504 conversations. clarkcox3 signature: clarkcox3
clarkcox3's articles:
Items(1) /1
Using SFINAE with constructors241 (9/9/2005 7:45:35 PM) comp.lang.c++ I'm writing a class that, depending on a template parameter, has constructors that take differing numbers of arguments. I initially thought that I could use SFINAE (via boost::enable_if_c) to achieve my ends... Clark
Handle?717 (6/10/2007 1:20:01 PM) comp.lang.c++ What is exactly a handle to an object????Is it same as reference.... ... shraddhajoshi84(45)
More elegant UTF-8 encoder2626 (6/10/2007 1:42:43 PM) comp.lang.c Hi, For a free software project, I had to write a routine that, given a Unicode scalar value U+0000 - U+10FFFF, returns an integer that holds the UTF-8 encoded form of it, for example, U+00F6 becomes 0x0000C... bjoern(196)
Struct compares/copies1324 (6/16/2007 2:01:25 PM) comp.lang.c Q: I need to copy and compare C Structs. Is this the safe and quick way to do it?: void func(void) { typedef _MY_STRUCT { int a; char b; char c; } my_struct my_stuct new; my_struct old; if (memcmp(ol... bb
Output of the following code1622 (6/18/2007 2:29:33 PM) comp.lang.c Hi all, #include int main(void) { int a = 1; switch(a) { int b = 10; case 1: printf("Value of b = %d\n",b); break; default: printf("No match for a\n"); break; } return 0; } can... kiraank(19)
confusion between copy and templated constructors620 (6/22/2007 11:49:34 AM) comp.lang.c++ Hi - I have a program which was previously working (but wasn't well tested). I've added a new function call, and it now doesn't compile. The call requires a copy constructor, but the compiler appears to think ... rj413
Can you spot anything wrong with this class/structure?1022 (12/1/2007 3:42:33 AM) comp.lang.c++ I use a game engine using MSVC++ .net 2003 and have no problems. Some users of DevC++ who use the same engine crash at times when a copy of this structure is the return variable. I don't have access to the ... tazmaster(2359)