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

  • From: "nielx" <trac@xxxxxxxxxxxx>
  • Date: Tue, 03 Jun 2014 04:38:57 -0000

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

Comment (by nielx):

 I don't understand the problem exactly, but if I am correct there is a
 risk in chaining methods, because it gives the impression it is a linear
 operation (like a chain), but the compiler does not (or does not have to)
 understand it like this.

 Best thing would be to give an example within the context of the layout
 builders that looks logical and valid, but is not. We can briefly point
 out what to watch out for (and how to recognize that people have fallen in
 this trap), and refer to the specs for the whole story.

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

Other related posts: