scala.scalanative.util
package scala.scalanative.util
Type members
Classlikes
@implicitNotFound(msg = "Resource acquisition requires a scope.")
trait Scope
Scoped implicit lifetime.
Scoped implicit lifetime.
The main idea behind the Scope is to encode resource lifetimes through a concept of an implicit scope. Scopes are necessary to acquire resources. They are responsible for disposal of the resources once the evaluation exits the demarkated block in the source code.
See https://www.youtube.com/watch?v=MV2eJkwarT4 for details.
- Companion:
- object
Types
Value members
Concrete methods
Marker methods, called whenever a specific control-flow branch should never happen.
Marker methods, called whenever a specific control-flow branch should never happen.