ALib C++ Library
Library Version: 2412 R0
Documentation generated by doxygen
Loading...
Searching...
No Matches
callerinfo_functions.hpp
Go to the documentation of this file.
1//==================================================================================================
2/// \file
3/// This header file is part of the \aliblong. It does not belong to an \alibmod and is
4/// included in any \alibdist.
5///
6/// \note This is a special header file which has to be included for switchng preprocessor macro
7/// \ref ALIB_CALLER and a bigger list of macros using that.<br>
8/// Please refer to manual section \ref alib_manual_appendix_callerinfo for details.
9///
10/// \emoji :copyright: 2013-2024 A-Worx GmbH, Germany.
11/// Published under \ref mainpage_license "Boost Software License".
12///
13/// \note
14/// To reduce their complexity, this header is not shown in inclusion graphs of this documentation.
15//==================================================================================================
16#if !DOXYGEN
17# undef ALIB_CALLER
18# if ALIB_EXT_LIB_THREADS_AVAILABLE
19# define ALIB_CALLER {__FILE__,__LINE__,ALIB_CALLER_FUNC,::std::this_thread::get_id(),nullptr}
20# else
21# define ALIB_CALLER {__FILE__,__LINE__,ALIB_CALLER_FUNC,nullptr}
22# endif
23#endif
24
25