Search code examples
Does using std::array as storage invoke UB?...


c++language-lawyerc++20lifetimeplacement-new

Read More
Out of scope issue?...


c++lifetimestringstream

Read More
How do Rust lifetimes interact with &str?...


rustscopelifetime

Read More
How to hold a (self-captured) closure for an observer design model...


rustdesign-patternsclosureslifetime

Read More
String seems to be deallocated after return from function...


c++fstreamlifetimeifstream

Read More
Storing address of address of function?...


c++undefined-behaviorlifetime

Read More
What does it mean for a type to have a static lifetime?...


rustlifetime

Read More
Lifetime Confusion for iterator...


rustlifetime

Read More
Explicitly boxing lifetime-bound conversion closures in Rust...


genericsrustclosureslifetime

Read More
Lifetime issue in default trait implementation...


genericsrusttraitslifetime

Read More
Why does taking a static reference to a const return a reference to a temporary variable?...


rustlifetimeborrow-checker

Read More
Assignment from function to variable defined as mutable reference?...


rustimmutabilitytraitslifetimeode

Read More
How to move an opaque value like a hot potato from one Enum constructor to the next to the next?...


rustlifetimeborrow-checkerlinear-types

Read More
Why can't I return an &str value generated from a String?...


rustlifetime

Read More
Capturing FnMut closure doesn't live long enough...


rustcallbackclosureslifetimefn

Read More
Lifetime when exchanging reference...


rustreferencelifetimemutable

Read More
Lifetime on returned trait not present on tokio_postgres Row and does not "live long enough&quo...


rustlifetimetokio-postgres

Read More
Implementation of std::start_lifetime_as()...


c++undefined-behaviorlifetimestrict-aliasingc++23

Read More
Cannot infer an appropriate lifetime when returning trait object from trait method...


rusttraitslifetime

Read More
Lifetime of struct with field of type Boxed async callback must outlive 'static...


asynchronousrustcallbacklifetimerust-tokio

Read More
Can I modify an &'a str on a struct instance in rust so that it has the same &'a str...


rustreferencelifetime

Read More
max_by_key on Map doesn't allow destructuring of tuple into key-value pair...


rustlifetime

Read More
Problem generify-ing serde_json read into a `Vec<T>` (rust)...


genericsrustlifetimeserdeserde-json

Read More
Does &'a T imply T: 'a?...


rustlanguage-lawyerlifetime

Read More
In Rust, is there a difference in drop order for a Box:ed struct compared to a plain struct?...


rustscopelifetime

Read More
Is this access to temporary safe according to the C++ standard?...


c++language-lawyerlifetimetemporary-objects

Read More
How does Rust detect a reference to a local variable without the function being used?...


rustreferencelifetime

Read More
Passing a temporary by const pointer instead of const reference; is this workaround well-formed?...


c++language-lawyerundefined-behaviorlifetime

Read More
Why don't Deref-like traits compose?...


rusttraitslifetimeborrow-checker

Read More
Mutable borrow in previous iteration, or maybe a lifetime issue?...


rustlifetime

Read More
BackNext