Common System 0.2.0
Common interfaces and patterns for system integration
Loading...
Searching...
No Matches
source_location.h File Reference

C++17-compatible source_location implementation. More...

Include dependency graph for source_location.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  kcenon::common::source_location
 C++17-compatible source_location implementation using compiler builtins. More...
 

Namespaces

namespace  kcenon
 
namespace  kcenon::common
 Core interfaces.
 

Detailed Description

C++17-compatible source_location implementation.

Provides a source_location type that works with both C++17 and C++20. Uses std::source_location when available (C++20), otherwise falls back to compiler builtins for C++17 compatibility.

This file uses the unified feature detection from feature_flags.h. The macro KCENON_HAS_SOURCE_LOCATION determines whether std::source_location is available.

Definition in file source_location.h.