octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #65497] fits 1.0.7: type cast issue


From: anonymous
Subject: [Octave-bug-tracker] [bug #65497] fits 1.0.7: type cast issue
Date: Wed, 1 Jan 2025 14:03:19 -0500 (EST)

Follow-up Comment #7, bug #65497 (group octave):

fortran_vec() can be replaced by data() for the const-cases.

The API is IMHO quite strange, and breaks with typical C++ APIs (like the STL
API), i.e. having an explicit `const T* rodata()` and an automatic `T* data()`
with an `const T* data() const` overload.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?65497>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]