StackOverflow Questions for Tag: std-source-location

bleh
bleh

Reputation: 1

Printing std::source_location attributes in __cyg_profile_func_enter causes segfault?

Score: 0

Views: 8

Answers: 0

Read More
Walter Svenddal
Walter Svenddal

Reputation: 463

Is std::source_location guaranteed to reuse the same object?

Score: 4

Views: 140

Answers: 2

Read More
L. F.
L. F.

Reputation: 20649

How to use source_location in a variadic template function?

Score: 76

Views: 8478

Answers: 8

Read More
PavelDev
PavelDev

Reputation: 683

How to get data member names with source_location::function_name

Score: -1

Views: 159

Answers: 1

Read More
Radim Kalaš
Radim Kalaš

Reputation: 11

c++ string formatting function requiring constant expression to be used inside a logging function

Score: -1

Views: 217

Answers: 2

Read More
JHeni
JHeni

Reputation: 751

C++ correct usage of std::source_location

Score: 0

Views: 81

Answers: 0

Read More
Tomas
Tomas

Reputation: 123

constructing std::source_location with custom values

Score: 3

Views: 716

Answers: 3

Read More
spaL
spaL

Reputation: 688

C++20 source_location template non-type parameter

Score: 1

Views: 239

Answers: 0

Read More
Benjamin Buch
Benjamin Buch

Reputation: 6123

How can I pass CMake's CMAKE_SOURCE_DIR to C++ source files?

Score: 0

Views: 2309

Answers: 2

Read More
Vincent
Vincent

Reputation: 60491

Source location at call site and nttps: strange results and possible compiler bug?

Score: 4

Views: 136

Answers: 1

Read More
Casey
Casey

Reputation: 10976

Replacing __LINE__ and __FUNCSIG__ with the new std::source_location in a macro

Score: 0

Views: 232

Answers: 1

Read More
Silicomancer
Silicomancer

Reputation: 9216

consteval wrapper vs. source_location

Score: 3

Views: 627

Answers: 2

Read More
JVApen
JVApen

Reputation: 11317

Does C++20 mandate source code being stored in files?

Score: 110

Views: 11975

Answers: 2

Read More
user3520616
user3520616

Reputation: 101

operator[] caller's site source location current workaround

Score: 0

Views: 527

Answers: 1

Read More
Alexander Karatarakis
Alexander Karatarakis

Reputation: 529

Why are std::source_location's getters not marked as [[nodiscard]]?

Score: 0

Views: 35

Answers: 0

Read More
Rahul Bhobe
Rahul Bhobe

Reputation: 4451

How to disable copy elision for constructors with std::source_location?

Score: 0

Views: 424

Answers: 1

Read More
康桓瑋
康桓瑋

Reputation: 43156

Combining ranges adaptors and std::source_location got strange results

Score: 2

Views: 396

Answers: 1

Read More
Desmond Gold
Desmond Gold

Reputation: 2105

How to get a source location from the function as argument without using static member function `current`?

Score: 2

Views: 670

Answers: 1

Read More
Thomas Marsden
Thomas Marsden

Reputation: 56

source_location is not a member of std

Score: 1

Views: 50

Answers: 0

Read More
康桓瑋
康桓瑋

Reputation: 43156

C++20 std::source_location yield different column numbers between free function and template functions

Score: 6

Views: 324

Answers: 1

Read More
PreviousPage 1Next