Earlier quoted context omitted.
> how does the whole LLM market come to fruition? I'm paying for chatGPT and use it quite often. I find it very useful. I don't pay for chat because there have been free options since the 80s. I don't pay for voice(chat) because there have free options for ~10yrs?
Interesting. How much would one have to pay you to stop using it? Wondering what the use cases are (replace Google? Stack Overflow? etc).
me: is there an issue with passing "hello" to std::string
claude: Passing "hello" to a function expecting std::string is actually not an issue. C++ allows implicit conversion from string literals (like "hello") to std::string objects. This conversion is possible because std::string has a constructor that accepts a const char*, which is the type of string literals in C++.
If I type this question into google, I get this:
> some_function(std::string{"hello, world"}); is completely safe, as long as the function doesn't preserve the string_view for later use. The temporary std::string is destroyed at the end of this full-expression (roughly speaking, at this ; ), so it's destroyed after the function returns.
which doesn't really answer my question
As an example of simple project: I wanted to make an app with swiftUI, and I was able to just describe it to claude and have it give me the basic outlines of the app, and then improve it by iteratively asking claude for changes. Since I try to understand the output, this lead to me learning Swift and SwiftUI very quickly while also having a functional app within a few minutes.