Search:
Type: Posts; User: TriKri
Search:
Search took 0.02 seconds.
-
November 2nd, 2009, 02:24 AM
Doh! XD Sometimes I feel really stupid. I replaced basic_posint with base_posint, and the problem got solved. Strange, huh? :P
Concerning the warnings I got from the compiler, I had to do both of...
-
November 1st, 2009, 06:07 PM
I have a template class called basic_posint, in which I have declared a friend function
template<unsigned BASE>
class base_posint : public integer {
...
public:
friend std::ostream&...
-
August 14th, 2008, 04:44 AM
I know, but I mean, what could go wrong? How do you construct a class which does not guarantee the behavior? I can't imagine any.
-
August 14th, 2008, 02:51 AM
I don't see how the C++ standard would not be able to maintain the multithreading behavior. Isn't that pretty basic?
-
August 13th, 2008, 05:14 AM
Multithreading behavior? :confused: Now I'm lost...
-
August 9th, 2008, 04:35 AM
What's the heap? Can the program allocate from the heap?
-
August 8th, 2008, 06:07 PM
What I understand, intrusive_ptr provides better performnce than shared_ptr, but requires the type being refered to provide its own counting mechanism. I can understand that intrusive_ptr is fast and...
-
July 14th, 2008, 10:18 AM
What code do you mean? I posted two examples. The first one where I'm trying to derive the class doesn't compile. The second example does, and it is what I am currently using.
-
July 14th, 2008, 10:08 AM
Hm, strange. I use MinGW, maybe any difference there?
-
July 14th, 2008, 09:40 AM
OMG, that was the most stupid code I have ever seen... No, that was not what I ment, I do see your point there :)
Besides, who would ever want to create an object of the numerical_limits class? It...
-
July 14th, 2008, 08:27 AM
What do you mean by harder to understand? Okay, let me rephrase the question: How can I create a derived class from numeric_limits?
-
July 14th, 2008, 07:40 AM
Hi!
I would like to derive a class from the numeric_limits template class, in order to get a class with more information about each type and a shorter name. Currently I have:
template<class...
-
April 7th, 2008, 05:42 AM
The limit of 10 I am not sure of, it is just like a possible standard derivation. But I think I have found a way to do it with merge sort (then not moving all the elements being merged to another...
-
April 6th, 2008, 06:19 PM
Hello!
I would like to find a good sorting algorithm for sorting data that already is almost sorted. That means, an elemend is at a possition in the array that usually isn't very far from where it...
-
August 10th, 2007, 03:28 AM
I believe you hit the head on the nail! I'm not sure though, I have to test it first nut the name attribute definitely wasn't set. I thought I had done that... Thanks, anyway! :D
-
August 10th, 2007, 01:44 AM
Well, how's properly? I created them and attached them to an element which lies inside the form and they all pop up on the screen so I can fill them in. What more have gone wrong?
-
August 9th, 2007, 05:50 PM
Hello!
I have no example right now, but I earlier this day created a program which generated textboxes to appear inside the form which I later submitted them with. But after submit, the boxes...
|
Click Here to Expand Forum to Full Width
|