Menu

#273 operator char*() becomes operator char* ()

closed-fixed
2024-10-01
2014-03-18
No

I have a class that can be used as a C-string. To enable this I have created a member called:
operator char*()

When running Astyle (using --align-pointer=type) it is reformatted to:
operator char* ()

As you can see, a space has been inserted before the left parenthesis. Not a big problem since the code still compiles but I would prefer and option (or a fix) to Astyle that avoids this extra space.

Discussion

  • André Simon

    André Simon - 2024-09-11
    • status: open --> open-accepted
    • assigned_to: André Simon
     
  • André Simon

    André Simon - 2024-10-01
    • status: open-accepted --> closed-fixed
     
  • André Simon

    André Simon - 2024-10-01

    Fixed in 3.6.3.

     
    👍
    1

Log in to post a comment.

Auth0 Logo