Menu

#568 c++ lambdas are broken

open-accepted
None
2024-08-02
2024-04-25
Andrew
No

If possible skip lambdas and don't modify it. Or format properly.

something like this, see attachment

3 Attachments

Discussion

  • Roy Qu

    Roy Qu - 2024-04-27

    astyle 3.4 has a new option "--indent-lambda". Have you tried it?

     
    • Andrew

      Andrew - 2024-04-27
      <meta http-equiv="content-type" content="text/html; charset=utf-8">
      Sure, it doesn’t work properly 

      27 апр. 2024 г., в 05:30, Roy Qu <royqh1979@users.sourceforge.net> написал(а):

      

      astyle 3.4 has a new option "--indent-lambda". Have you tried it?


      [bugs:#568] c++ lambdas are broken

      Status: open
      Created: Thu Apr 25, 2024 03:02 PM UTC by Andrew
      Last Updated: Thu Apr 25, 2024 03:02 PM UTC
      Owner: nobody
      Attachments:

      If possible skip lambdas and don't modify it. Or format properly.

      something like this, see attachment


      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/astyle/bugs/568/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

      <link itemprop="url" href="https://sourceforge.net/p/astyle/bugs/568/"> <meta itemprop="name" content="View">
      <meta itemprop="description" content="View">
       
  • André Simon

    André Simon - 2024-05-03

    Hi, could you give a bit more context (options)? I cannot replicate using '--indent-lambda' . The last example is cropped too much.

     
    • Andrew

      Andrew - 2024-05-03
      <meta http-equiv="content-type" content="text/html; charset=utf-8">
      See here:


      3 мая 2024 г., в 14:30, André Simon <saalen@users.sourceforge.net> написал(а):

      

      Hi, could you give a bit more context (options)? I cannot replicate using '--indent-lambda' . The last example is cropped too much.


      [bugs:#568] c++ lambdas are broken

      Status: open
      Created: Thu Apr 25, 2024 03:02 PM UTC by Andrew
      Last Updated: Sat Apr 27, 2024 02:30 AM UTC
      Owner: nobody
      Attachments:

      If possible skip lambdas and don't modify it. Or format properly.

      something like this, see attachment


      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/astyle/bugs/568/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

      <link itemprop="url" href="https://sourceforge.net/p/astyle/bugs/568/"> <meta itemprop="name" content="View">
      <meta itemprop="description" content="View">
       
  • André Simon

    André Simon - 2024-08-02

    Hi, please try with a recent version as it gives better output (with --indent-lambda).

     
  • André Simon

    André Simon - 2024-08-02
    • status: open --> open-accepted
    • assigned_to: André Simon
     

Log in to post a comment.