Toggle navigation
ivorium
iv_components
Example project
GitHub
Main Page
Modules
Classes
Files
File List
File Members
ivorium_core
Basics
SrcInfo.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <string>
4
5
#define SRC_INFO ::iv::SrcInfo( __FILE__, __LINE__, __func__ )
6
7
namespace
iv
8
{
9
10
struct
SrcInfo
11
{
12
std::string
file
;
13
int
line
;
14
std::string
func
;
15
16
SrcInfo
(
const
char
*
file
,
int
line
,
const
char
*
func
) :
file
(
file
),
line
(
line
),
func
(
func
){}
17
};
18
19
}