Search:

Type: Posts; User: DynV

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    1,031

    For SumTreeClass::BuildTree(vector, tNode...

    For SumTreeClass::BuildTree(vector<Node>, tNode *), I'd change
    else if(tempPath[0] == 'L') { //... to
    else { helperFunction(tempPath[0]); }

    I wonder... Did you just code most of this then...
  2. Replies
    13
    Views
    2,986

    It's not just you! http://www2.research.att.com...

    It's not just you! http://www2.research.att.com looks down from here. Check another site?


    I assume it was similar to Brace Initialization syntax - C++ Forum but I,ll have to just keep that in...
  3. Replies
    31
    Views
    10,163

    Hmm! It was a joke. I hope it wasn't appropriate.

    Hmm! It was a joke. I hope it wasn't appropriate.
  4. Replies
    31
    Views
    10,163

    nice link :D

    nice link

    :D
  5. difference between definition, declaration & prototype

    Searching for content on this forum before creating a thread I stumbled on const function which post #2-3 caught my eye.


    I then made a few searches on the separate terms but for most interesting...
  6. Replies
    7
    Views
    3,302

    You're right and I usually detect it but that...

    You're right and I usually detect it but that darn const-on-the-left-at-beggining-of-statements exception confused me! >:(

    const T& operator*() const;
    I always put const on the right.



    I'm...
  7. Replies
    31
    Views
    10,163

    I used advanced, as the search criteria show on...

    I used advanced, as the search criteria show on top of the image. I also use Search Titles Only, either one of us had luck going for or against, I'm missing something unusual (I'm not a stranger to...
  8. Replies
    7
    Views
    3,302

    const return types, or lack thereof

    From what I gather, functions return temporaries which don't need to be const (I assume making it const would use more processing) except for cases where returns are pointers or references.

    I have...
  9. Replies
    31
    Views
    10,163

    That's what I understood from the concept right...

    That's what I understood from the concept right before creating this thread but the more examples, the merrier. :D

    I was about to forget: I did search on the topic before creating a new thread but...
  10. Replies
    31
    Views
    10,163

    I will assume this is what I was looking for ;...

    I will assume this is what I was looking for ; that it's extremely unlikely that what my OP suggested (block of const & non-const operator[] be different) happen. So I might was well put that in my...
  11. Replies
    31
    Views
    10,163

    Yeah I'm just like that and I'm still focused on...

    Yeah I'm just like that and I'm still focused on it, just like my OP mentioned:


    I know what you're saying about const correctness, that the const version should be the most important version and...
  12. Replies
    31
    Views
    10,163

    Sorry but I don't get this. :| Would someone...

    Sorry but I don't get this. :|

    Would someone please just make me an example (or give URLs which someone with no prior knowledge of const & non-const difference would understand), or a few if...
  13. Replies
    31
    Views
    10,163

    This was the important part perhaps the compiled...

    O_o

    Being "const correct" isn't a superficial difference.[/QUOTE]

    This was the important part perhaps the compiled versions are (much) different but certainly not the blocks as far as what I...
  14. Replies
    31
    Views
    10,163

    This is exactly my point. The difference between...

    This is exactly my point. The difference between the blocks of the 2 operator[] (const & non-const) are not-so-important.

    Are there cases where the difference is important? That the block content...
  15. Replies
    31
    Views
    10,163

    operator[] difference of const and non-const

    I was reading a tutorial which have a header including operator[], of course an overload of the latter, having a version const and non-const, respectively:

    T const & operator[]...
  16. Replies
    13
    Views
    2,986

    I appreciate your long post dwks. I wanted to...

    I appreciate your long post dwks. I wanted to reply yesterday, not long after the others replied but by then I was worn out, funny what a few minutes can do. Your nickname seem familiar ; do you hand...
  17. Replies
    1
    Views
    1,054

    Sorry! Mod please? :)

    Hello! I know it's the wrong forum but since I don't have 10 post yet, I can't PM.

    I made a mistake which make me look really stupid if one pay attention to it from Making a wrapper templated...
  18. Replies
    13
    Views
    2,986

    I don't understand what you just wrote, I'm not...

    I don't understand what you just wrote, I'm not so good (read not at all) with wrapper and templates. Again my project isn't so complicated, this is a side-project and I see it took me far beyound...
  19. Replies
    13
    Views
    2,986

    Yes! I got it working. Looking at your code, I...

    Yes! I got it working. Looking at your code, I went for the signatures right away and found out the problem. My version:

    #include <iostream>
    #include <string>

    template <typename T> class foo {...
  20. Replies
    13
    Views
    2,986

    Making a wrapper templated

    Greetings,

    I'm kind of new to C++ and am having difficulty understanding subject I haven't explored thoroughly. Some kind souls helped me for a side-project but it seems I've reached their...
Results 1 to 20 of 20