ANN: reflection at compiletime379 (7/28/2004 3:39:27 PM) Hi all, the current issue (Sep.04) of the CUJ has an article about my reflection library (member variables and base classes). Any functionality that can be defined with functions that operate on member variable... Arne
Problems with Standard Library Data Structures6126 (7/25/2004 12:26:26 AM) Dear all, I am experiencing a problem in the deallocation of STL data structures. In paritcular I create a vector of sets and insert integers in each set. I do not define any deallocator since they should be a... machud(5)
the usual conversions2112 (7/27/2004 4:32:56 PM) I found this issue here with gcc 3.4.1 and I'm unsure about it: #include using namespace std; int f0(int x) { int k=1000000; return (x*1000000)/1000000; } int f1(int x) { const int k=10... Marco
Macro to declare identical char and wchar_t string literals7197 (6/25/2004 12:06:22 AM) I was thinking if there is a legal way to implement a macro like this #define DECL_STRING(name, strValue) which will be used as follows DECL_STRING(APPLE, "apple") this line will expand to create three macros ... cf(12)
for C++ expert advice on VPTR bug!1107 (7/26/2004 7:34:10 AM) I have developed an application (FlashIME, www.d2ksoft.com, actually, it is an system-wide hooked dll) which has to use the shared data segment to share information between process. //------------code --------... chb_sh
Threading with STL Containers14104 (7/19/2004 5:26:08 PM) Can anyone point me to information on how to use threads to add info to a container and read other information from the same container at the same time using separate threads? I guess some form of locking is i... Craig
Object Assignment2153 (7/26/2004 10:48:42 PM) Example #1 (see code below) Here is a simple example which assigns one object to another object of the same type. This example shows that the data members in the derived class as well as the data members in th... stevenhr
bytes packing for char type094 (7/27/2004 10:58:57 AM) Hi guys, =) I am doing a little experiment, and I found that this is really interesting, but I don't know, can anyone please tell me why is that? I've defined a structure like this typedef struct myA { c... tikviva
C->C++ Otimization help... expression propagation681 (6/28/2004 12:21:30 PM) I'm a newbie here so apologies if I'm posting the question in the wrong group. I re-wrote some code so instead of passing parameters I'm using class members now. Unfortunately, an expression which is invarian... PJJ
linker error extern...6103 (7/26/2004 5:09:21 PM) Dear All, I am trying to run a following small piece of code under vc++ compiler ver 6, but getting linker error main() { extern int i; i = 20; printf("%d",sizeof(i)); } What can be the reason for linker er... rohit_dhamija