List Question
20 TechQA 2024-03-14T16:43:30.313000c++ string formatting function requiring constant expression to be used inside a logging function
89 views
Asked by Radim Kalaš
C++ correct usage of std::source_location
81 views
Asked by JHeni
constructing std::source_location with custom values
368 views
Asked by Tomas
C++20 source_location template non-type parameter
175 views
Asked by spaL
How can I pass CMake's CMAKE_SOURCE_DIR to C++ source files?
1k views
Asked by Benjamin Buch
Source location at call site and nttps: strange results and possible compiler bug?
164 views
Asked by Vincent
Replacing __LINE__ and __FUNCSIG__ with the new std::source_location in a macro
223 views
Asked by Casey
operator[] caller's site source location current workaround
433 views
Asked by user3520616
How to disable copy elision for constructors with std::source_location?
400 views
Asked by Rahul Bhobe
Combining ranges adaptors and std::source_location got strange results
438 views
Asked by 康桓瑋
source_location is not a member of std
81 views
Asked by Thomas Marsden
How to get a source location from the function as argument without using static member function `current`?
495 views
Asked by Desmond Gold
std::source_location as non type template parameter
1k views
Asked by NoSenseEtAl
source_location::current() evaluated as default non-type template argument
533 views
Asked by VainMan
consteval wrapper vs. source_location
549 views
Asked by Silicomancer
Why are std::source_location's getters not marked as [[nodiscard]]?
78 views
Asked by Alexander Karatarakis
Does C++20 mandate source code being stored in files?
11.9k views
Asked by JVApen
How to use source_location in a variadic template function?
6.7k views
Asked by L. F.
Is it possible to make macros that are default arguments expand at call site?
341 views
Asked by pulp_user