@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6 7 8 9 10



Comments:

<0> blah blah blah blah
<1> noidea is obviously becoming uncomfortable with the conversation
<2> conversation?? you mean random ramblings
<3> fevered ramblings
<4> Whee, happy clients
<5> moo
<4> <aleko> AL ZARQAWI DEAD - identity confirmed by the Kerry/Edwards 04 tattoo on his arm
<0> no, I just pop in and out
<0> and say blah blah blah
<0> I don't even read what's going on.
<6> lol
<0> generally.
<0> http://www.nopers.com/video/476/college_girl_abused_by_police_for_loud_music
<0> for those who didn't see it earlier.
<0> why?



<7> guys, what kind of identization do you recommend?
<7> blah () {
<7> here
<8> The second
<7> or blah ()
<7> {
<7> here
<7> ?
<7> the second? :)
<8> yes
<0> the 2nd
<0> yes
<0> only idiots do
<0> blah() {
<0> and it should be
<0> blah()
<0> not blah ()
<8> That too
<7> I never do it like blah ()
<8> You just did, you're a loser.
<8> For life.
<8> I SAW that space.
<8> It was there.
<8> I logged it.
<8> There is no denying it.
<7> that hurt
<0> you should kick him in the shins sk8ing
<8> He can't reach me, there's too much SPACE in between.
<7> I really don't use that space when I'm coding
<7> I wanned to make everything more clear
<8> Sure, and you don't dress in girls clothes either, right?
<7> right
<9> coding while your gf is blowing you
<8> nod
<9> lol
<9> or coding while watching a pr0n movie
<8> You shut up - the NERVES to join here with a nick that starts with 'java' ...
<6> hmm
<4> Heh
<0> op me
<6> anyone know how to take a template parameter that's a function signature, and find the return & argument types?
<8> lol
<6> as in, maybe instantiate another template where each argument is a different template parameter?
<0> JB
<0> do as you're told
<6> haha
<8> lol
<0> you didn't get messaged you idiot.
<4> I was just staying in the spirit of things
<0> I'm talking to you here in the channel.
<4> I didn't say you HAD messaged me
<4> I just said not to
<8> Well, don't do it again.
<7> rdragon-wrk: I think you can only do it for a known type of params
<7> template<cl*** T, cl*** X> boost::function<T (X)>;
<9> i heard that Al-Zarqawi isn't dead yet
<6> sk8ing huh?
<7> template<cl*** T, cl*** X> a(boost::function<T (X)>); template<T> b(T x) { a(x) }
<6> no
<7> the T inside a will be of the type of the return type of the function p***ed to b
<6> no



<6> that's not what I'm doing
<6> when you p*** a signature as a template argument
<6> it's one argument
<6> template<typename Signature> ...
<10> javaq_: Didn't they find his teeth and fingerprints, or something?
<6> I want to take that template argument, Signature, and find the types of the arguments
<10> javaq_: Who knows, he might be plotting an attempt on Elvis at this very moment.
<11> hi :o
<11> http://www.noidea128.org/sourcefiles/16331.html
<7> X will be the type of the argument
<11> it takes only 3 lines lol, but I don't know what doesnt work
<11> :(
<6> you need a 'typename' in there
<6> sk8ing wtf is X ?
<9> X is the cl***
<9> T is the type of the cl***
<6> no, god damnit
<7> no, X is the type of the argument
<6> template<typename Signature> struct A{ typedef ReturnType r; //how do I get ReturnType? };
<6> the arguments aren't being p***ed in as separate arguments
<10> rdragon: You want the return type of Signature?
<6> if they were, my problem wouldn't exist
<6> Yes
<6> where signature might be void(int, int), for example
<6> or int(float,float)
<11> please ;( template <typename T> void print(const list<T>& he) { list<T>::iterator pos; }
<11> what is wrong with that
<6> or anything, really
<6> CocaCola^ - you need a 'typename' in there, before list<T>::
<10> rdragon: Believe there's a template that does that, though I don't know how generally...
<11> rdragon; you mean, typename list<T>::iterator pos ?
<10> rdragon: Have you looked at boost::result_of?
<6> Yes
<10> Doesn't work?
<11> omg, it works
<11> thanks :p
<6> no, where is that
<11> but hum.. why
<11> when I need to write typename and sometime I do not
<6> jbatista - aha, got it
<6> thanks
<6> didn't realize you could do template arguments like that
<10> CocaCola^: You need to use "typename" in a template definition where you are specifying the name of a type which is a member of a parametric type.
<6> template<typename ReturnType, typename Arg0> struct A< Return(*)(Arg0) >{...};
<8> CocaCola^: You need to write typename when the type depends on a template parameter somehow.
<11> only on declaration
<11> ?
<8> no
<8> when using the the type
<11> ok thanxs, ill try that :p
<8> template<typename T> void foo(void) { for(typename T::type i = ....
<11> but its weird, typename was only in the template <typename T> on the tutorial im vewing
<8> That's a different use of typename
<6> CocaCola^ - then you should stop reading 'tutorials'
<11> well, Accelerated c++
<10> A surprisingly large amount of the C++ stuff on-line is outdated. Hardly any of it is any good.
<11> anyway, thanxs alot : O
<8> The standard is dense, and still 600 pages. AC++ doesn't contain it all.
<11> ye, I just finished and bought the second in the list on noidea.org lol
<8> The "reason" for the need of typename is that the standard demands syntax checking to a certain extend of template declarations, even before they are instantiated. Thus, when T is totally unknown. Then it needs to know what T::foo is, a type or an object?
<11> ok
<11> I really didnt knew it
<11> thanks :p
<0> http://www.duiblog.com/2006/06/05#a413
<0> http://www.duiblog.com/2006/06/02#a418
<12> well, tha t was a quick install
<12> x64 vista beta 2 blue screens about 1 minute after pressing "hit any key to boot from cd"
<11> damnit.. it still doesnt work, typename list<T>::iterator pos; pos = he.begin(); it tells me: error: no match for 'operator=' in 'pos = std::list .............'
<10> CocaCola^: What is the type of "he"?
<11> void print(const list<T>& he
<10> There's your problem.
<8> list<T>::const_iterator
<11> lol :o
<11> thanks


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #c++
or
Go to some related logs:

#asm
#linux
#javascript
#chatzone
#php
bulova quartz t8
nc6120 debioan
#php
Kosmo disks
eeprom emulator



Home  |  disclaimer  |  contact  |  submit quotes