I want to write logger and I need data about source file and line. Does this line of code work in compile time or not:
constexpr std::string_view source = (std::string(__FILE__) + ":" + std::to_string(__LINE__));
If it doesn't work in compile time, how will I do it? Maybe is it impossible?