Skip to content

hotfixes #271

Answered by ArthurSonzogni
YottaYocta asked this question in Q&A
Nov 30, 2021 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Input is different from others components, because this is the only component modifying its input.

We maintain two version of every component, one supporting std::wstring (legacy/depreacted) and one supporting std::string. Fortunately the implementation are all made from std::string and we just convert std::wstring to std::string in constructor for legacy users.

Every components are made this way, except for Input, which behave in the opposite order. We convert std::string to std::wstring and back when updated.

I believe we should make Input implemented in two version for both type. That requires some work.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ArthurSonzogni
Comment options

Answer selected by ArthurSonzogni
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants