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
  • 161783 View
  • 345 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

3 Answered Questions

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

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

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
  • 4149 View
  • 28 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
  • 6319 View
  • 13 Score
  • 1 Answer
  • Tags:   rust sdl lifetime

1 Answered Questions

[SOLVED] Lifetime troubles sharing references between threads

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

1 Answered Questions

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

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

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

2 Answered Questions

1 Answered Questions

1 Answered Questions

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

  • 2015-10-22 16:41:26
  • ehsisthatsweird
  • 930 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

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

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

1 Answered Questions

2 Answered Questions

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