https://issues.apache.org/ooo/show_bug.cgi?id=123961

[email protected] <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ACCEPTED
                 CC|                            |[email protected]
           Assignee|[email protected] |[email protected]
                   |g                           |
     Ever confirmed|0                           |1

--- Comment #1 from [email protected] <[email protected]> ---
Thanks for the patch! Actually I'd prefer if the declaration was adjusted not
to use const for non-reference/non-pointer types, because that is an
implementation detail of the function which is irrelevant its users. Some
compilers even warn about this.

Does your compiler work when you remove the const from the
non-reference/non-pointer types in the *hxx file? If the constness aspect is
important it should go where it actually belongs: into the function definition
(in the *cxx file). Does your compiler allow, that the declaration uses the
non-const variant in the declaration and the const variant in the definition?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

Reply via email to