List Question
20 TechQA 2024-01-25T07:23:48.933000Why const reference is called and not rvalue reference and how std::move works?
81 views
Asked by Chp Cht
How to avoid clang-tidy warning when passing shared_ptr to thread function?
181 views
Asked by oliver
Weird behavior with std::string reference class member
273 views
Asked by morpheus
Why does the "in" keyword allow mutation of properties C#?
213 views
Asked by Patrick Cerny
C++ struct as function argument vs. multiple const ref parameters vs. C++ core guidelines vs. performance?
145 views
Asked by Martin Ba
Is relying on the const-ness of arguments bind to const& parameters a recipe for thread un-safety?
35 views
Asked by Enlico
Is there any realistic use case for passing pointers by constant reference rather than by value?
205 views
Asked by Enlico
(C++) Using multiple operator overloads with const reference parameters
114 views
Asked by AssistantToTheRegionalManager
C++20 : Memory allocation of literal initialization of const references
187 views
Asked by LastStarDust
Are temporaries const? Pass by const reference
49 views
Asked by ionescu radu
Pass-by-value and std::move vs forwarding reference
977 views
Asked by Alex O
Using find_if with a vector of pointers: How to pass pointer by const reference to lambda?
465 views
Asked by glades
Why does C++ give preference to rvalue reference over const reference while function call?
399 views
Asked by simplekind
Reference at std::thread parameters
666 views
Asked by Артём Гаркавый
Why can't we pass const values by reference to inout functions in swift?
447 views
Asked by Sourav Kannantha B
C++ const reference template function argument type is itself a reference, why?
627 views
Asked by 111111
Modifying const reference argument via non-const reference argument
3.3k views
Asked by Gabriele Buondonno
Why does string_view::operator== accepts parameters by value
66 views
Asked by Jouni
Can we have a setter member function as const referenced from a const object?
519 views
Asked by Nashez Zubair