79826253

Date: 2025-11-21 08:14:14
Score: 0.5
Natty:
Report link

Useful tools:

C++ Insights can show you that fileContents is cast to std::string&& (which is equivalent to std::move(fileContents)) when passed to the constructor of std::optional.

Compiler Explorer can show you that the constructor of std::optional invoked at the return statement is the one accepting rvalue reference of std::string.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: GKxx