All pastes #597124 Raw Edit

Miscellany

public cpp v1 · immutable
#597124 ·published 2007-06-30 12:42 UTC
rendered paste body
    struct str1 {int i; double k; short s; std::string q; int*j;};    str1 lol1;    GenericStruct<TypeList5(int, double, short, std::string, int*)> lol2;        if (sizeof(lol2) != sizeof(lol1))      SO4ERROR("Can't hack it enough...");            lol2.Set(1, 3.0, 2, "It works!", &lol1.i);        MessageBox(NULL, GSGet<3>::byptr(lol2)->c_str(), "hmm...", MB_OK);