header_utils
|
Use as a function parameter type to capture both the parameter and the call-site source location. More...
#include <with_sl.h>
Public Member Functions | |
template<typename U > requires (!std::same_as<std::remove_cvref_t<U>, with_sl<T>>) | |
with_sl (U &&u, source_location loc EQ_SOURCE_LOCATION) | |
with_sl (with_sl const &other) noexcept=default | |
with_sl (with_sl &&other) noexcept=default | |
with_sl & | operator= (with_sl const &other) noexcept=default |
with_sl & | operator= (with_sl &&other) noexcept=default |
Public Attributes | |
T | Object |
source_location | Location |
Use as a function parameter type to capture both the parameter and the call-site source location.
|
inline |
source_location ghassanpl::with_sl< T >::Location |
T ghassanpl::with_sl< T >::Object |