[haiku-bugs] Re: [Haiku] #8515: GCC behaviour in method chaining should be documented (easy)

  • From: "nielx" <trac@xxxxxxxxxxxx>
  • Date: Mon, 02 Jun 2014 13:19:16 -0000

#8515: GCC behaviour in method chaining should be documented (easy)
-----------------------------+----------------------------
   Reporter:  yourpalal      |      Owner:  pdziepak
       Type:  enhancement    |     Status:  closed
   Priority:  normal         |  Milestone:  R1
  Component:  Documentation  |    Version:  R1/Development
 Resolution:  invalid        |   Keywords:  doxygen
 Blocked By:                 |   Blocking:
Has a Patch:  0              |   Platform:  All
-----------------------------+----------------------------

Comment (by nielx):

 Replying to [comment:4 pdziepak]:
 > This ticket is invalid. The standard explicitly states that the order in
 which function arguments are evaluated is unspecified and may result in an
 undefined behavior. No valid C++ (or C) program should rely on any
 particular order as the compiler is allowed to change at any time.

 Shouldn't this be the thing that is documented?

--
Ticket URL: <https://dev.haiku-os.org/ticket/8515#comment:6>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: