CppCommon 1.0.5.0
C++ Common Library
Loading...
Searching...
No Matches
Classes | Namespaces | Macros
source_location.h File Reference

Source location definition. More...

#include "string/format.h"
#include <sstream>
#include <string>
#include "source_location.inl"

Go to the source code of this file.

Classes

class  CppCommon::SourceLocation
 Source location. More...
 

Namespaces

namespace  CppCommon
 C++ Common project definitions.
 

Macros

#define __LOCATION__   CppCommon::SourceLocation(__FILE__, __LINE__)
 Current source location macro.
 

Detailed Description

Source location definition.

Author
Ivan Shynkarenka
Date
09.02.2016

Definition in file source_location.h.

Macro Definition Documentation

◆ __LOCATION__

#define __LOCATION__   CppCommon::SourceLocation(__FILE__, __LINE__)

Current source location macro.

Create a new source location with a current file name and line number.

Examples
system_source_location.cpp.

Definition at line 23 of file source_location.h.