Questions
Linux
Laravel
Mysql
Ubuntu
Git
Menu
HTML
CSS
JAVASCRIPT
SQL
PYTHON
PHP
BOOTSTRAP
JAVA
JQUERY
R
React
Kotlin
×
Linux
Laravel
Mysql
Ubuntu
Git
New posts in temporary-objects
Temporary bound references to struct members
Mar 11, 2026
c++
language-lawyer
lifetime
coverity
temporary-objects
Dereference operator on temporary object
Mar 11, 2026
c++
destructor
temporary-objects
full-expression
Why can a non-const reference parameter be bound to a temporary object?
Mar 06, 2026
c++
reference
constants
object-lifetime
temporary-objects
Temporary materialization conversion - Confusion about terminology and concepts
Feb 26, 2026
temporary-objects
value-categories
ostringstream, .str(), and reseting/clearing the stream
Feb 13, 2026
c++
string
stringstream
temporary-objects
C++ destruction of temporary object in an expression [duplicate]
Jan 18, 2026
c++
constructor
destructor
temporary-objects
c++ lifetieme extension with different parentheses [duplicate]
Jan 03, 2026
c++
lifetime
temporary-objects
templated operator string() won't compile when temp object
Dec 08, 2025
c++
string
templates
operators
temporary-objects
Non-const reference to temporary works now?
Dec 07, 2025
c++
reference
move-semantics
rvalue
temporary-objects
Dangling reference when returning reference to reference parameter bound to temporary
Nov 25, 2025
c++
pass-by-reference
temporary-objects
return-by-reference
Is constructing an object in an argument list and passing a pointer to internal data of the object to the function safe?
Nov 25, 2025
c++
string
temporary-objects
Accessing an array within a struct causes warnings with clang
Nov 20, 2025
c++
temporary-objects
Returning const reference to temporary behaves differently than local const reference?
Nov 02, 2025
c++
reference
lifetime
temporary
temporary-objects
Extending the lifetime of a temporary object by binding to its subobject
Oct 21, 2025
c++
c++17
lifetime
temporary-objects
xvalue
Is taking a reference from a temporary valid C++ code?
Sep 15, 2025
c++
reference
c++17
temporary-objects
Is return value always a temporary?
Sep 09, 2025
c++
temporary-objects
Binding temporaries to non-const references in case of exceptions
Sep 07, 2025
c++
temporary-objects
When are temporary objects destroyed?
Sep 04, 2025
c++
scope
destructor
temporary-objects
Returning reference of a temporary object from a function
Jan 04, 2023
c++
lifetime
temporary-objects
const-reference
Lifetime of a temporary captured by reference in a closure stored in a class
Dec 25, 2022
c++
language-lawyer
c++17
lifetime
temporary-objects
Older Entries »