You all only care about AI, instead of professional cpp discussion. I could clearly think your reply is not professional.
I'm not talking about AI, I'm talking about your code.
And, for those syntax errors, you can reply me your compilation arguments and hear file contents. I could easily know you just copy the header file code from email content instead of GitHub.
#include "semantic.h"
int main()
{
return semantic::from<int>({1,2,3,4,5}).toOrdered().anyMatch([](auto){ return true;});
}
I don't think you understand what "header-only" means.
If you I could run on my phone with just including std libs and could not run on your computer, I doubt how you learn and use cpp.
Bold claim. So you think you can run the code above on your phone? The functions are not defined in headers, it's not a header-only library.
This is not a "header-only library", it's just some code that has no tests. Don't assume I need to learn C++ to understand this.