Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: TriKri

Search: Search took 0.01 seconds.

  1. Replies
    8
    Views
    7,620

    Re: Template stream operator overloading

    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...
  2. Replies
    8
    Views
    7,620

    Re: Template stream operator overloading

    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&...
  3. Replies
    15
    Views
    6,096

    Re: shared_ptr VS. intrusive_ptr?

    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.
  4. Replies
    15
    Views
    6,096

    Re: shared_ptr VS. intrusive_ptr?

    I don't see how the C++ standard would not be able to maintain the multithreading behavior. Isn't that pretty basic?
  5. Replies
    15
    Views
    6,096

    Re: shared_ptr VS. intrusive_ptr?

    Multithreading behavior? :confused: Now I'm lost...
  6. Replies
    15
    Views
    6,096

    Re: shared_ptr VS. intrusive_ptr?

    What's the heap? Can the program allocate from the heap?
  7. Replies
    15
    Views
    6,096

    shared_ptr VS. intrusive_ptr?

    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...
  8. Replies
    14
    Views
    975

    Re: Derivation from template class?

    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.
  9. Replies
    14
    Views
    975

    Re: Derivation from template class?

    Hm, strange. I use MinGW, maybe any difference there?
  10. Replies
    14
    Views
    975

    Re: Derivation from template class?

    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...
  11. Replies
    14
    Views
    975

    Re: Derivation from template class?

    What do you mean by harder to understand? Okay, let me rephrase the question: How can I create a derived class from numeric_limits?
  12. Replies
    14
    Views
    975

    Derivation from template class?

    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...
  13. Replies
    2
    Views
    2,025

    Re: Sorting algorithm for almost sorted data?

    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...
  14. Replies
    2
    Views
    2,025

    Sorting algorithm for almost sorted data?

    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...
  15. Re: JS-generated text boxes is not sent on submit!

    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
  16. Re: JS-generated text boxes is not sent on submit!

    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?
  17. JS-generated text boxes is not sent on submit!

    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...
Results 1 to 17 of 17


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center