Skip to content

LEFT and RIGHT fail with an string class that extends WSTRING #445

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
JoseRoca opened this issue Mar 19, 2025 · 0 comments
Open

LEFT and RIGHT fail with an string class that extends WSTRING #445

JoseRoca opened this issue Mar 19, 2025 · 0 comments

Comments

@JoseRoca
Copy link

I have reworked my DWSTRING class, that extends WSTRING.
See: https://www.freebasic.net/forum/viewtopic.php?p=306682#p306682

Extending from WSTRING has solved the quirks that I had in my previous class, CWSTR, except in the case of LEFT and RIGHT, that fail with an ambiguous call error.

I have used a workaround overloading these two operators, but wanted to let you know that at least two quirks remain.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant