Gang Of Coders
Home
About Us
Contact Us
All Lifetime Solutions on Gang of Coders
Total of 14 Lifetime Solutions
When is it useful to define multiple lifetimes in a struct?
Rust
Lifetime
How can I pass a reference to a stack variable to a thread?
Multithreading
Rust
Reference
Lifetime
How do I specify lifetime parameters in an associated type?
Rust
Lifetime
Why are explicit lifetimes needed in Rust?
Reference
Rust
Static Analysis
Lifetime
What are non-lexical lifetimes?
Rust
Terminology
Lifetime
Lifetime Scoping
What is the lifetime of the result of std::string::c_str()?
C++
String
C Strings
Lifetime
C Str
"Life-time" of a string literal in C
C
Function
Local Variables
String Literals
Lifetime
Is there any way to return a reference to a variable created in a function?
Reference
Rust
Lifetime
What is the lifetime of a static variable in a C++ function?
C++
Static
Lifetime
How do I implement the Add trait for a reference to a struct?
Reference
Rust
Traits
Lifetime
Lifetimes in Rust
Rust
Lifetime
The compiler suggests I add a 'static lifetime because the parameter type may not live long enough, but I don't think that's what I want
Rust
Lifetime
Managing the lifetimes of garbage-collected objects
Garbage Collection
Rust
Allocation
Lifetime
Why can't I store a value and a reference to that value in the same struct?
Rust
Reference
Lifetime
Borrow Checker