header_utils
Loading...
Searching...
No Matches
with_sl

A set of usesful types (with_sl and with_slh) that allow for variadic functions taking a std::source_location. More...

Classes

struct  ghassanpl::with_sl< T >
 Use as a function parameter type to capture both the parameter and the call-site source location. More...
 
struct  ghassanpl::with_slh< T, HASH_FUNC >
 Use as a function parameter type to capture both the parameter and the hash of the call-site source location. More...
 

Detailed Description

A set of usesful types (with_sl and with_slh) that allow for variadic functions taking a std::source_location.

Example Usage
template <typename... ARGS>
{
Log(LogType::Debug, fmt.Location, format(fmt.Object, forward<ARGS>(args)...));
}
constexpr auto bit_count
Equal to the number of bits in the type.
Definition bits.h:33