First  |  Prev |  Next  |  Last
Pages: 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
pitfalls of string for binary data
At a prior job, people were using std::string to hold arbitrary binary data, as opposed to vector<char>. I've seen a few people in this group poopoo that notion, and I'd like to find out what they think the pitfalls, if any, of using string to hold binary data are. I ask, because otherwise the code base was pretty ... 23 Apr 2008 15:44
C++ Memory Management Innovation: GC Allocator
On Apr 21, 10:43 pm, marlow.and...(a)googlemail.com wrote: On 21 Apr, 19:13, xushiwei <xushiwe...(a)gmail.com> wrote: I took a quick look with particular interest in what you have to say about scoped allocators. It seems to me that there is some overlap with what you are doing and the work by Pablo Halpern i... 7 May 2008 12:35
C++ Memory Management Innovation: GC Allocator
On 21 Apr, 19:13, xushiwei <xushiwe...(a)gmail.com> wrote: To obtain a copy of this paper in pdf format click here (http:// xushiwei.com/local--files/gc-allocator/GCAllocator.pdf I took a quick look with particular interest in what you have to say about scoped allocators. It seems to me that there is some over... 6 May 2008 23:25
C++ Memory Management Innovation: GC Allocator
xushiwei ha scritto: To obtain a copy of this paper in pdf format click here (http:// xushiwei.com/local--files/gc-allocator/GCAllocator.pdf or from google code: http://code.google.com/p/stdext/downloads/list). Another copy is also available on google docs (http://docs.google.com/View? docid=dds5zgx6_353... 21 Apr 2008 22:09
Destructor not called with forward declaration instead of include
Say you have these files: BigClazz.h class Clazz; // Note the forward declaration only , no include "Clazz.h" class BigClazz { public: BigClazz(); ~BigClazz(); Clazz* pclazz; }; BigClazz.cpp #include "BigClazz.h" BigClazz... 23 Apr 2008 14:07
Examing an execution, caught by "catch (...)" possible?
Hello, I'm currently in progress of finding an error that seems to be in my system's libraries - but throws an exception at least... Currently I don't know what exception type this is but I'm able to catch it using a "catch (...)" line. Now I'd like to see what this exception is. Is there any way to examine this... 22 Apr 2008 13:12
C++ Memory Management Innovation: GC Allocator
"xushiwei" <xushiweizh(a)gmail.com> wrote in message news:d21bda62-0079-4023-99ef-cc90c66b5831(a)q1g2000prf.googlegroups.com... To obtain a copy of this paper in pdf format click here (http:// xushiwei.com/local--files/gc-allocator/GCAllocator.pdf or from google code: http://code.google.com/p/stdext/downloads/li... 22 Apr 2008 12:24
C++ Exercise: Find precision of variable types
In a C++ exercise, I was asked to find the precision of the variable types float, double and long double. I did it by dividing a starting number by 2 continuously until a logical test detected if there was no discernible difference between successive numbers. Is there a better way to do this? #include <iostrea... 22 Apr 2008 12:24
Submitting a Primitive Library for Peer Review
I've been trying to create a basic file obfuscation library using the XOR operator because I heard that it was fast. Because of the suggestions of those at the comp.lang.c++, I have decided to turn the library into a file obfuscation library. More details are available at http://groups.google.com/group/comp.lang.c... 21 Apr 2008 21:21
Samples for non-type template argument other than integral types
In TC++PL Special Edition, template parameters section, page 332, second paragraph said: �A template argument can be a constant expression, the address of an object or function with external linkage, or a non-overloaded pointer to member.� I have used type parameters and also constant expressions as non-type te... 20 Apr 2008 21:58
First  |  Prev |  Next  |  Last
Pages: 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59