/[svn]/linuxsampler/trunk/src/scriptvm/tree.cpp
ViewVC logotype

Diff of /linuxsampler/trunk/src/scriptvm/tree.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2945 by schoenebeck, Thu Jul 14 00:22:26 2016 UTC revision 2948 by schoenebeck, Fri Jul 15 15:29:04 2016 UTC
# Line 712  void Neg::dump(int level) { Line 712  void Neg::dump(int level) {
712    
713  String ConcatString::evalStr() {  String ConcatString::evalStr() {
714      // temporaries required here to enforce the associative left (to right) order      // temporaries required here to enforce the associative left (to right) order
715        // ( required for GCC and Visual Studio, see:
716        //   http://stackoverflow.com/questions/25842902/why-stdstring-concatenation-operator-works-like-right-associative-one
717        //   Personally I am not convinced that this is "not a bug" of the
718        //   compiler/STL implementation and the allegedly underlying "function call"
719        //   nature causing this is IMO no profound reason that the C++ language's
720        //   "+" operator's left associativity is ignored. -- Christian, 2016-07-14 )
721      String l = lhs->evalCastToStr();      String l = lhs->evalCastToStr();
722      String r = rhs->evalCastToStr();      String r = rhs->evalCastToStr();
723      return l + r;      return l + r;

Legend:
Removed from v.2945  
changed lines
  Added in v.2948

  ViewVC Help
Powered by ViewVC