On 05/11/2024 05:57, Sven Bieg via Gcc-help wrote:
Handle<String> String::operator new(char const*)?
You might be better off in a more general C++ questions forum, such as the comp.lang.c++ Usenet group or appropriate Stack Overflow, Reddit, etc., area. This list is primarily about helping people with issues with gcc rather than the languages it supports.
And please learn to ask questions sensibly. A series of basically meaningless one-line posts, each in a new thread, is a sure way to get yourself ignored or killfiled as a waste of time.
So start with some research on appropriate places to ask about C++. Start by reading existing posts and discussions so that you get an idea about the community, and can judge if the level is right for you and the participants would be able to help you.
Then form a coherent question asking clearly what you want to know here, and discuss the answers in that one thread. Don't say "I want this" or "this would be helpful" - say /why/ you want it. Say what else you tried, or how you think it would make your code better. Then people can give much more useful answers.
(You can also try learning about "factory methods" or "factory functions", which might be what you are looking for.)