cppx-core
macro-source_location.hpp
Go to the documentation of this file.
1 #pragma once // Source encoding: UTF-8 with BOM (π is a lowercase Greek "pi").
3 
4 #ifndef CPPX_NO_DOLLARS_PLEASE
5 # define $source_location CPPX_SOURCE_LOCATION
6 #endif
7 
8 #define CPPX_SOURCE_LOCATION \
9  ::cppx::Source_location( __FILE__, __LINE__, {}, __func__ )