5#ifndef INCLUDE_GUARD_ARENE_BASE_ARENE_BASE_SOURCE_LOCATION_SRC_LINE_INFO_HPP_
6#define INCLUDE_GUARD_ARENE_BASE_ARENE_BASE_SOURCE_LOCATION_SRC_LINE_INFO_HPP_
8#include "arene/base/stdlib_choice/cstdint.hpp"
45#define ARENE_GET_SRC_CODE_LOCATION_INFO() \
46 (::arene::base::src_line_info{ \
47 static_cast<::arene::base::null_terminated_string_view>(static_cast<const char*>(__func__)), \
48 static_cast<::arene::base::null_terminated_string_view>(static_cast<const char*>(__FILE__)), \
49 static_cast<std::uint32_t>(__LINE__) \
A read-only string-view that provides a view onto a null-terminated string.
Definition null_terminated_string_view.hpp:62
Definition accumulate.hpp:37
Definition accumulate.hpp:36
::uint32_t uint32_t
A 32-bit unsigned integer type.
Definition cstdint.hpp:41
Container for the location information associated with a line of source code.
Definition src_line_info.hpp:20
std::uint32_t line
line number
Definition src_line_info.hpp:27
null_terminated_string_view filepath
filepath of the source file
Definition src_line_info.hpp:25
null_terminated_string_view function_name
function name of the parent function
Definition src_line_info.hpp:23