40 source_location Location;
43 requires (!std::same_as<std::remove_cvref_t<U>, with_sl<T>>)
44 with_sl(U&& u, source_location loc EQ_SOURCE_LOCATION)
45 : Object(std::forward<U>(u)), Location(std::move(loc))
49 with_sl(with_sl
const& other)
noexcept =
default;
50 with_sl(with_sl&& other)
noexcept =
default;
51 with_sl& operator=(with_sl
const& other)
noexcept =
default;
52 with_sl& operator=(with_sl&& other)
noexcept =
default;
60 using hash_func = HASH_FUNC;
61 using hash_type =
decltype(HASH_FUNC{}(source_location{}));
64 hash_type LocationHash;
67 requires (!std::same_as<std::remove_cvref_t<U>, with_slh<T>>)
68#ifdef __INTELLISENSE__
69 with_slh(U&& t, hash_type loc = {})
71 with_slh(U&& t, hash_type loc = HASH_FUNC{}(source_location::current()))
73 : Object(std::forward<U>(t)), LocationHash(loc)
77 with_slh(with_slh
const& other)
noexcept =
default;
78 with_slh(with_slh&& other)
noexcept =
default;
79 with_slh& operator=(with_slh
const& other)
noexcept =
default;
80 with_slh& operator=(with_slh&& other)
noexcept =
default;