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

Search:

Type: Posts; User: D_Drmmr

Search: Search took 0.12 seconds.

  1. Replies
    13
    Views
    3,692

    Re: TR2 file library

    I think they would be needed. Can't test it right now, but if I'm not mistaken, leaving out the brackets gives a different result.


    std::path dir = "C:\\one", subdir = "two";
    std::string stem =...
  2. Replies
    13
    Views
    3,692

    Re: TR2 file library

    I don't agree with you here. I don't think the meaning of operator + on strings follows from analogy. By analogy I would expect "aa" + "bc" to equal "cd". However, that doesn't make sense and, in...
  3. Replies
    13
    Views
    3,692

    Re: TR2 file library

    The operator doesn't just concatenate. It adds a path separator and then concatenates. To me it makes as much sense as having the operator + for concatenation of std::string. It may take some getting...
Results 1 to 3 of 3





Click Here to Expand Forum to Full Width

Featured