Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Core » StrInt returning value
Re: StrInt returning value [message #59849 is a reply to message #59848] Wed, 03 May 2023 14:02 Go to previous messageGo to previous message
Klugier is currently offline  Klugier
Messages: 1077
Registered: September 2012
Location: Poland, Kraków
Senior Contributor
Hello Lugi,

Changes like you proposed all out of scope. The current behavior is with us for a very long period of time and users are used to it. The function behaves in accordance to our documentation. Also changing this behavior to what you have proposed means breaking API change, which should be avoided at all cost. You will literally break dozens of application that relays on this function.

The alternative version doesn't exist, because c++ doesn't allow to have the same functions but with different return type. Anyway, introducing new function we will pollute our API. Keep it simple stupid with one implementation is reasonable in this case.

So, at the moment you just need to align to the current behavior and handle Null as error case.

Klugier


U++ - one framework to rule them all.
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: CreateProcessW doesn't compile with CLANG
Next Topic: memory consumption of my application
Goto Forum:
  


Current Time: Thu May 23 16:38:16 CEST 2024

Total time taken to generate the page: 0.01532 seconds