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

  • From: "axeld" <trac@xxxxxxxxxxxx>
  • Date: Wed, 04 Jun 2014 20:47:37 -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 axeld):

 A better example could look like this (note that BGroupLayoutBuilder is
 deprecated, anyway :-)):
 {{{
 int row = 0;
 BLayoutBuilder::Grid<>(target)
         .Add(viewA, row++)
         .Add(viewB, row++)
         .Add(viewC, row++);
 }}}

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

Other related posts: