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?

5 Answered Questions

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

  • 2008-10-29 12:14:03
  • Motti
  • 165529 View
  • 356 Score
  • 5 Answer
  • Tags:   c++ static lifetime

2 Answered Questions

[SOLVED] Lifetime of temporaries

3 Answered Questions

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

9 Answered Questions

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

9 Answered Questions

[SOLVED] Why are explicit lifetimes needed in Rust?

1 Answered Questions

3 Answered Questions

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

2 Answered Questions

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

1 Answered Questions

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

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

1 Answered Questions

[SOLVED] Lifetime troubles sharing references between threads

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

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
  • 4295 View
  • 28 Score
  • 1 Answer
  • Tags:   rust lifetime

1 Answered Questions

[SOLVED] Iterator returning items by reference, lifetime issue

5 Answered Questions

[SOLVED] How to set lifetime of session

2 Answered Questions

1 Answered Questions

4 Answered Questions

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

1 Answered Questions

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

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

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
  • 1549 View
  • 28 Score
  • 1 Answer
  • Tags:   rust lifetime

1 Answered Questions

[SOLVED] What is lifetime elision in very simple terms?

  • 2016-10-30 03:04:00
  • davis
  • 616 View
  • 6 Score
  • 1 Answer
  • Tags:   rust lifetime

2 Answered Questions

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

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

2 Answered Questions

1 Answered Questions

1 Answered Questions

3 Answered Questions

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