Contents

class

SushiAI::Eager::Scope

Opens a named scope for its own lifetime.

Declared in
include/SushiAI/eager/scope.hpp

See also

include/SushiAI/eager/README.md

Public member functions

Scope(ScopeTrace &trace, std::string_view name)

Opens name on trace.

Parameters

trace

The trace to mark; must outlive this object.

name

Scope name; see ScopeTrace::open().

~Scope()

Closes the scope this object opened.

Scope(const Scope &)=delete
Scope & operator=(const Scope &)=delete
Scope(Scope &&)=delete
Scope & operator=(Scope &&)=delete