| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14
Comments:
<0> well, it MAY be that the types of a and b suffice to deduce the template args <1> ok wait <2> Restaurant time <0> you haven't shows us an actual signature <3> MrAshe, yum yum <2> Gotta love 5 stars hotels <2> That's the good thing about not being educated <3> what? <3> you love 5 star hotels because you arent educated? <4> lol <4> ok that made no sense <0> no, he gets to use 5 star hotels <2> Nope, I go in 5 stars hotels cause I'm not educated <3> why? <3> what? <4> I still don't ge tit
<2> Because I didn't do any studies <2> So I'm dumb <2> At least to IRR ;) <4> Quantum``: are you understanding wtf Ashe is saying :-\ <4> cause I'm not <3> oooh you mean you got money even if you didnt study? <4> maybe I'm dumb too :-\ <2> I mean I got more money than he'll ever have when he's done with his studies ;) <2> But it's not like I'm paying for the hotel <3> exactly <3> the psychic link is working <3> MrAshe: I went to the Ritz in London :0 <3> hah! I win, I win! <2> There's no ritz here <2> It's a simple grand mercure <3> too bad, its was a good date at the ritz :) <2> I won't date you <4> lol <3> you wish you could though <2> I already date your brain <2> It won't get physical <3> you know youwant me, and go from psychic to physical <3> you know you do <2> Time to eat <3> ciao ciao <1> to declare the function i write: <1> template <1> < <1> unsigned int x, <1> unsigned int y, <1> unsigned int z, <1> cl*** flexible_type_1, <1> cl*** flexible_type_2 <1> > <0> ViPr stop <1> void function_name(felxible_type_1 a,flexible_type_2 b) <1> and to use the function i write: <1> function_name<7,3,8>(a,b); <1> oops spelled it wrong. whatever <0> seems like an odd way to do things, but <shrug> <1> is that right? <3> vawjr, you arent voting for auto? <1> i'm basically just making up syntax <0> Quantum`` I don't think they'll let me vote, but yes <0> ViPr to what end? <3> vawjr: good times are ahead <1> do you guys get now what i'm trying to do? <0> absolutely not <0> I see no point to it at all <1> damn! <3> I have a friend working on implementing type inference in Ruby <5> hmmm <5> list::push_back is core dumping <1> i want some variables to be nonvariable so they can be hardwired or hardcoded or whatever it's called for speed purposes <1> that's basically what i'm trying to do <0> Quantum`` have you seen [vs] proposal for "closures" in the core language? <5> the list is a member of a cl*** <5> the cl*** is instantiated as a global <6> implementing anything on ruby would be nice <5> any ideas what might be causing this?
<0> well, it has to allocate, then do a copy constructor <0> possibly somebody else has stepped on one of the links? <5> The object I'm pushing back has members of all ints. <5> that's what I'm thinking vawjr, memory thing <3> so check for enough RAM? <5> it fails on teh first push_back <3> strange <5> the program is VERY simple <0> step through it <0> that's what debuggers are for, lol <4> debug setiup <5> And, just to try to eliminate the buffer overrun theory <4> step <5> I put a 4MB int array on each side of the list in the cl***. <1> how do i call a function that has template parameters then? <5> I've already looked at teh core file <3> vawjr: I haven't <5> it's dying on insert <4> ViPr: vawjr is trying to tell you <4> or was <1> yeah he stopped <3> Noidea, its weird... <0> ViPr quit worrying about optimizatons until you get it working <5> and, then don't bother afterwards either <0> Noidea, so step through insert <5> since it's probably pointless. <1> the problem is i don't even know if this is possible in my compiler or if i invented something new <0> ViPr so you're not writing C++, you're writing for some specific compiler <7> <2> Because I didn't do any studies <7> <2> So I'm dumb <7> <2> At least to IRR ;) <7> Aww ashe I don't think you are dumb <7> I think you are very smart but got a bit impatient with the educational system <0> Noidea you don't have a special allocator for the types in the list, do you? you know that it won't get called by the list methods <1> i want to know if it's possible to do in C++ and how <0> the educational system in most of the workd is crap <5> nope <5> nothing special here <5> I'm pretty sure it's some kind of memory bug <0> ViPr forget it, I'm not gonna try to help you solve some putative optimization problem <5> There's nothing special about any of this. <5> The object I'm pushing into the list <5> I created a similar list in main <5> and pushed an object into it <0> only thing left is to step through the insert <0> what compiler <5> just to see what would happen <0> ?? <5> it worked infe. <5> fine <5> gcc 3.2.3 <7> <3> IRR: How the hell is Aspect Oriented Programming even remotely visual??? << its one way to address the Deutsch limit <8> bonjour <8> hello <7> salut <5> that's wonderful. <5> If I add 1 element before I call a function in a library <5> no core dump <5> I can add 1 element, then clear the list <5> and no core dump <5> well, at least I know what call is doing the memory stomping. <1> vawjr, so basically you're confirming that what i want does not exist? <0> ViPr HUH? <0> I have NO damned idea what you're trying to do <0> and I won't help you if it's for optimization <9> ViPr did you post your code yet or are you still babbling? <4> still babling <9> k <10> what is pointers? <9> coolcom4 get a book <10> ok <1> you are saying it is not possible in C++ to make the compiler make various hardcoded versions of a function with variables <9> coolcom4 www.rudbek.com/books.html <9> ViPr that sounds like what templates do
Return to
#c++ or Go to some related
logs:
unable to connect to hpiod using std namespace STL #chatzone #java #moviestogo logs #linuxhelp #chatzone #linux C# winkey #linux
|
|