2 Answered Questions

[SOLVED] Why can't I store a value and a reference to that value in the same struct?

2 Answered Questions

1 Answered Questions

[SOLVED] What are non-lexical lifetimes?

4 Answered Questions

[SOLVED] What is the lifetime of a static variable in a C++ function?

  • 2008-10-29 12:14:03
  • Motti
  • 158619 View
  • 337 Score
  • 4 Answer
  • Tags:   c++ static lifetime

2 Answered Questions

[SOLVED] Lifetime of temporaries

9 Answered Questions

[SOLVED] "life-time" of string literal in C

9 Answered Questions

[SOLVED] Why are explicit lifetimes needed in Rust?

3 Answered Questions

[SOLVED] How do I write an iterator that returns references to itself?

1 Answered Questions

3 Answered Questions

[SOLVED] "constructing" a trivially-copyable object with memcpy

1 Answered Questions

[SOLVED] Lifetime troubles sharing references between threads

  • 2015-02-22 05:47:43
  • nathansizemore
  • 3418 View
  • 9 Score
  • 1 Answer
  • Tags:   rust lifetime

1 Answered Questions

[SOLVED] Iterator returning items by reference, lifetime issue

1 Answered Questions

[SOLVED] How do I implement the Add trait for a reference to a struct?

1 Answered Questions

[SOLVED] How can I create my own data structure with an iterator that returns mutable references?

  • 2014-09-08 18:15:43
  • Mike Pedersen
  • 4014 View
  • 27 Score
  • 1 Answer
  • Tags:   rust lifetime

2 Answered Questions

1 Answered Questions

5 Answered Questions

[SOLVED] How to set lifetime of session

5 Answered Questions

[SOLVED] C++ constant reference lifetime (container adaptor)

1 Answered Questions

[SOLVED] When is it useful to define multiple lifetimes in a struct?

  • 2015-04-25 05:29:42
  • Kai
  • 1366 View
  • 25 Score
  • 1 Answer
  • Tags:   rust lifetime

1 Answered Questions

[SOLVED] Cannot infer an appropriate lifetime for autoref due to conflicting requirements

  • 2016-12-21 18:59:14
  • Brad Ziolko
  • 5651 View
  • 12 Score
  • 1 Answer
  • Tags:   rust sdl lifetime

1 Answered Questions

1 Answered Questions

[SOLVED] Why does my variable not live long enough?

  • 2015-10-22 16:41:26
  • ehsisthatsweird
  • 899 View
  • 0 Score
  • 1 Answer
  • Tags:   rust lifetime

3 Answered Questions

[SOLVED] Singleton Per Call Context (Web Request) in Unity

5 Answered Questions

[SOLVED] What should be the lifetime of an NHibernate session?

4 Answered Questions

[SOLVED] Lifetime of a string literal returned by a function

2 Answered Questions

2 Answered Questions

[SOLVED] Moved variable still borrowing after calling `drop`?

  • 2017-04-15 17:10:33
  • nodakai
  • 677 View
  • 5 Score
  • 2 Answer
  • Tags:   rust lifetime

1 Answered Questions

2 Answered Questions

[SOLVED] lifetime of a std::initializer_list return value