Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in lifetime

What is the lifetime of class static variables in C++?

c++ static-members lifetime

Late destruction of function parameters

Simulating activity death in Android

Safe to pass pointer to auto variable to function?

c pointers lifetime

C++ thread still `joinable()` after it finishes execution?

c++ multithreading lifetime

Is pointer arithmetic on allocated storage allowed since C++20?

Why do the lifetimes on a trait object passed as an argument require Higher Ranked Trait Bounds but a struct doesn't?

rust lifetime

Writing a generic function that takes an iterable container as parameter in Rust

C++ constant reference lifetime (container adaptor)

"constructing" a trivially-copyable object with memcpy

Is the lifetime of a reference extended?

c++ reference lifetime

How does the life-time of an LAContext instance in iOS 8 behave?

Is there a way to have a Rust closure that moves only some variables into it?

How can I take ownership of a Vec element and replace it with something else?

vector rust lifetime ownership

Borrow checker doesn't realize that `clear` drops reference to local variable

what is the lifetime of javascript anonymous function?

How do I call a function that requires a 'static lifetime with a variable created in main?

rust lifetime

When returning the outcome of consuming a StdinLock, why was the borrow to stdin retained?

rust lifetime

Temporary lifetime extension

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

rust lifetime