Porytiles
Loading...
Searching...
No Matches
source_locations.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <source_location>
4#include <string>
5
6namespace porytiles {
7
24[[nodiscard]] std::string extract_function_name(const std::source_location &location = std::source_location::current());
25
26} // namespace porytiles
std::string extract_function_name(const std::source_location &location=std::source_location::current())
Extracts the function name from a source location.